diff --git a/Logging-and-Log-Files.md b/Logging-and-Log-Files.md index 8eb62ba..6d68911 100644 --- a/Logging-and-Log-Files.md +++ b/Logging-and-Log-Files.md @@ -1,15 +1,20 @@ -The default log level is Info, if Debug or Trace logs are needed, it will need to be changed in Settings first. - ### Location ### -The log files are located in Sonarr's [AppData directory](https://github.com/Sonarr/Sonarr/wiki/AppData-Directory), inside the `logs/` folder. You can also access the log files from the Sonarr UI (System: Logs: Files). +The log files are located in Sonarr's [AppData directory](https://github.com/Sonarr/Sonarr/wiki/AppData-Directory), inside the `logs/` folder. You can also access the log files from the Sonarr UI at System -> Logs -> Files. **Note**: the Logs Table in the UI is _not_ the same as the log files. ### Trace/Debug Logs ### -You can enable Trace or Debug logging in Settings on the General tab, by setting the `Log Level`. 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. +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. If you're unable to access the Sonarr UI to set the logging level you can do so by editing `config.xml` in the [AppData directory](https://github.com/Sonarr/Sonarr/wiki/AppData-Directory) by setting the `LogLevel` value to `Debug` or `Trace` instead of `Info`. +``` + + ... + debug + ... + + ### Clearing Logs ### You can clear log files and the logs database directly from the UI, under System -> Logs -> Files and System -> Logs respectively.