What logs to wipe before submitting crash report

Recently my server has been crashing every few days, requiring me to restart the docker container. (This last crash, it only lasted 22 hours before it crashed again)

In that regards, I am wondering if I can wipe the logs dir (while plex is running), to avoid a large log, and be able to catch the crash in a minimal log file.

Can I just delete the log files within the Logs folder at any time?

Plex’s logs have a fixed size.

The default rollover is 5 . When compressed, all the logs together give us about a 5 MB zip file.

Deleting them while running will not help . You don’t know what previous history might be needed to diagnose.

I assume I have to enable debug logging and wait for the next crash before I submit?

If you want to grab the logs + the dump file

  1. Turn “Send Crash Reports to Plex” off
  2. Enable DEBUG logging, Make certain VERBOSE logging is OFF.
  3. Save those changes.

Now, when you restart it. Downloading the logs ZIP will contain the record of what it was doing. In the Crash Reports directory , you’ll find the DMP file

Zip it up and attach both in a post . We’ll be able to see what it was doing and where