Finishing touches to the how-tos

This commit is contained in:
Patrick Robertson
2025-02-20 15:45:48 +00:00
parent 9661e90a05
commit 77212e8e3f
2 changed files with 27 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
# Logging
# Keeping Logs
Auto Archiver's logs can be helpful for debugging problematic archiving processes. This guide shows you how to use the logs to
@@ -6,6 +6,22 @@ Auto Archiver's logs can be helpful for debugging problematic archiving processe
Logging settings can be set on the command line or using the orchestration config file ([learn more](../installation/configuration)). A special `logging` section defines the logging options.
#### Enabling or Disabling Logging
Logging to the console is enabled by default. If you want to globally disable Auto Archiver's logging, then you can set `enabled: false` in your `logging` config:
```{code} yaml
...
logging:
enabled: false
...
```
```{note}
This will disable all logs from Auto Archiver, but it does not disable logs for other tools that the Auto Archiver uses (for example: yt-dlp, firefox or ffmpeg). These logs will still appear in your console.
```
#### Logging Level
There are 7 logging levels in total, with 4 commonly used levels. They are: `DEBUG`, `INFO`, `WARNING` and `ERROR`.