1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-09-19 10:51:04 +00:00

Docs update for recent watcher logging changes

This commit is contained in:
spl0k 2018-11-11 19:38:13 +01:00
parent b195aca12f
commit 9af8ee22e0
3 changed files with 6 additions and 7 deletions

View File

@ -229,10 +229,9 @@ Instead of manually running a scan every time your library changes, you can run
a watcher that will listen to any library change and update the database a watcher that will listen to any library change and update the database
accordingly. accordingly.
The watcher is `supysonic-watcher`, it is a non-exiting process and doesn't The watcher is `supysonic-watcher`, it is a non-exiting process. If you want to
print anything to the console. If you want to keep it running in background, keep it running in background, either use the old `nohup` or `screen` methods,
either use the old `nohup` or `screen` methods, or start it as a simple or start it as a simple _systemd_ unit (unit file not included).
_systemd_ unit (unit file not included).
It needs some additional dependencies which can be installed with the following It needs some additional dependencies which can be installed with the following
command: command:

View File

@ -30,7 +30,7 @@ log_level = WARNING
; single file over a short time span. Default: 5 ; single file over a short time span. Default: 5
wait_delay = 5 wait_delay = 5
; Optional rotating log file for the scanner daemon ; Optional rotating log file for the scanner daemon. Logs to stderr if empty
log_file = /var/supysonic/supysonic-daemon.log log_file = /var/supysonic/supysonic-daemon.log
log_level = INFO log_level = INFO

View File

@ -120,7 +120,7 @@ have been detected. This prevents running too many scans when multiple changes
are detected for a single file over a short time span. Default: 5 seconds. are detected for a single file over a short time span. Default: 5 seconds.
`log_file`: rotating file where events generated by the file watcher are logged. `log_file`: rotating file where events generated by the file watcher are logged.
Leave empty to disable logging. If left empty, any logging will be sent to stderr.
`log_level`: defines the minimum severity threshold of messages to be added to `log_level`: defines the minimum severity threshold of messages to be added to
`log_file`. Possible values are: `DEBUG`, `INFO`, `WARNING`, `ERROR` and `log_file`. Possible values are: `DEBUG`, `INFO`, `WARNING`, `ERROR` and
@ -133,7 +133,7 @@ Leave empty to disable logging.
; single file over a short time span. Default: 5 ; single file over a short time span. Default: 5
wait_delay = 5 wait_delay = 5
; Optional rotating log file for the scanner daemon ; Optional rotating log file for the scanner daemon. Logs to stderr if empty
log_file = /var/supysonic/supysonic-daemon.log log_file = /var/supysonic/supysonic-daemon.log
log_level = INFO log_level = INFO
``` ```