mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-24 17:55:34 +02:00
GITBOOK-9: No subject
This commit is contained in:
committed by
gitbook-bot
parent
1b2d99922c
commit
9c7679101f
12
docs/configuration/logging.md
Normal file
12
docs/configuration/logging.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# Logging
|
||||
|
||||
MediaManager automatically logs events and errors to help with troubleshooting and monitoring. These logs are emitted to the console (stdout) by default, and to a json-formatted log file.
|
||||
|
||||
## Configuring Logging
|
||||
|
||||
The following are configured as environment variables.
|
||||
|
||||
* `LOG_FILE`\
|
||||
Path to the JSON log file. Default is `/app/config/media_manager.log`. The directory must exist and be writable.
|
||||
* `MEDIAMANAGER_LOG_LEVEL`\
|
||||
Logging level. Default is `INFO`. Supported values: `DEBUG`, `INFO`, `WARNING`, `ERROR`.
|
||||
Reference in New Issue
Block a user