mirror of
https://github.com/spl0k/supysonic.git
synced 2025-01-02 22:36:18 +00:00
log rotate documentation
This commit is contained in:
parent
eac6bdf1a3
commit
03ac57ca26
@ -121,6 +121,11 @@ Configuration relative to the HTTP server.
|
||||
|
||||
Defaults to ``WARNING``.
|
||||
|
||||
``log_rotate``
|
||||
Enable automatic log rotation (when logs are enabled) every day at midnight.
|
||||
Set it to ``no`` if you don't want to rotate the logs or if you use external
|
||||
utilities such as :command:`logrotate`. Defaults to ``yes``.
|
||||
|
||||
``mount_api`` (``on`` or ``off``)
|
||||
Enable or disable the Subsonic REST API. Should be kept on or Supysonic would
|
||||
be quite useless. Exists mostly for testing purposes.
|
||||
@ -161,6 +166,9 @@ Sample configuration::
|
||||
; Default: WARNING
|
||||
log_level = WARNING
|
||||
|
||||
; Enable log rotation. Default: yes
|
||||
log_rotate = yes
|
||||
|
||||
; Enable the Subsonic REST API. You'll most likely want to keep this on.
|
||||
; Here for testing purposes. Default: on
|
||||
;mount_api = on
|
||||
@ -216,6 +224,11 @@ library folders and providing the jukebox feature.
|
||||
|
||||
Defaults to ``WARNING``.
|
||||
|
||||
``log_rotate``
|
||||
Enable automatic log rotation (when logs are enabled) every day at midnight.
|
||||
Set it to ``no`` if you don't want to rotate the logs or if you use external
|
||||
utilities such as :command:`logrotate`. Defaults to ``yes``.
|
||||
|
||||
Sample configuration::
|
||||
|
||||
[daemon]
|
||||
@ -241,6 +254,9 @@ Sample configuration::
|
||||
log_file = /var/supysonic/supysonic-daemon.log
|
||||
log_level = INFO
|
||||
|
||||
; Enable log rotation. Default: yes
|
||||
log_rotate = yes
|
||||
|
||||
.. _conf-lastfm:
|
||||
|
||||
``[lastfm]`` section
|
||||
|
Loading…
Reference in New Issue
Block a user