From 6231ccd493a6511e9b366d8b0543193423888602 Mon Sep 17 00:00:00 2001 From: Donald Webster Date: Tue, 12 Nov 2019 13:10:26 -0800 Subject: [PATCH] Updated Logging and Log Files (markdown) --- Logging-and-Log-Files.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Logging-and-Log-Files.md b/Logging-and-Log-Files.md index 51df37b..699dc3e 100644 --- a/Logging-and-Log-Files.md +++ b/Logging-and-Log-Files.md @@ -3,6 +3,9 @@ The log files are located in Sonarr's [AppData directory](https://github.com/Son **Note**: the Logs Table in the UI is _not_ the same as the log files. +### Sharing Logs +The log files can be long and hard to read as part of a forum or reddit post. And they're spammy in IRC or Discord, so *please* use a [pastebin](https://paste.ubuntu.com). The whole file typically isn't needed, just a good amount of context around the issue/error. Don't forget to wait for spammy tasks to finish, like the RSS sync or library refresh. + ### Trace/Debug Logs You can change the log level at Settings -> General -> Logging. Sonarr does not need to restarted for the change to take effect. This change only effects the log files, not the logging database. The latest debug/trace log files are named `sonarr.debug.txt` and `sonarr.trace.txt` respectively. @@ -26,7 +29,4 @@ Sonarr uses rolling log files limited to 1MB each. The current log file is alway When Debug log level is enabled, additional `sonarr.debug.txt` rolling log files will be present, up to 51 files. This log files contains fatal,error,warn,info *and* debug entries. It usually covers a 40h period. -When Trace log level is enabled, additional `sonarr.trace.txt` rolling log files will be present, up to 51 files. This log files contains fatal,error,warn,info,debug *and* trace entries. Due to trace verbosity it only covers a couple of hours. - -### Sharing Logs -The log files can be long and hard to read as part of a forum or reddit post. And they're spammy in IRC or Discord, so *please* use a [pastebin](https://paste.ubuntu.com). The whole file typically isn't needed, just a good amount of context around the issue/error. Don't forget to wait for spammy tasks to finish, like the RSS sync or library refresh. \ No newline at end of file +When Trace log level is enabled, additional `sonarr.trace.txt` rolling log files will be present, up to 51 files. This log files contains fatal,error,warn,info,debug *and* trace entries. Due to trace verbosity it only covers a couple of hours. \ No newline at end of file