diff --git a/README.md b/README.md index 4560e84..dd87995 100644 --- a/README.md +++ b/README.md @@ -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 accordingly. -The watcher is `supysonic-watcher`, it is a non-exiting process and doesn't -print anything to the console. If you want to keep it running in background, -either use the old `nohup` or `screen` methods, or start it as a simple -_systemd_ unit (unit file not included). +The watcher is `supysonic-watcher`, it is a non-exiting process. If you want to +keep it running in background, either use the old `nohup` or `screen` methods, +or start it as a simple _systemd_ unit (unit file not included). It needs some additional dependencies which can be installed with the following command: diff --git a/config.sample b/config.sample index bef5936..d314891 100644 --- a/config.sample +++ b/config.sample @@ -30,7 +30,7 @@ log_level = WARNING ; single file over a short time span. Default: 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_level = INFO diff --git a/docs/configuration.md b/docs/configuration.md index 9e33ca6..01cf669 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -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. `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_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 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_level = INFO ```