diff options
author | Pavel Kubelun <be.dissent@gmail.com> | 2018-02-04 15:02:22 +0300 |
---|---|---|
committer | Pavel Kubelun <be.dissent@gmail.com> | 2018-02-17 11:29:45 -0500 |
commit | 70a7f396caed01beaae0c4f23cdbf89b55a7e1af (patch) | |
tree | edb714ab1c44a50d9d36c355061a2b4525521066 /multimedia/minidlna/files | |
parent | 255f4d2f9908fc722f15133fa2e5c911a6ad75cb (diff) |
minidlna: decrease minidlna log verbosity
Some clients do not close connections properly or do not keep
it alive, so each time the connection times out a corresponding
log entry is written into a log. These messages may spam the log
really hard.
This may be an issue if log is placed on internal flash - it may
prematurely wear a flash chip. This also prevents hdd from spinning
down if the log is located on hdd and the dlna capable tv is online.
Set the log level to "error" by default.
MAN:
Set this to change the verbosity of the information that is logged
each section can use a different level: off, fatal, error, warn,
info, or debug
Example
log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Diffstat (limited to 'multimedia/minidlna/files')
-rw-r--r-- | multimedia/minidlna/files/minidlna.init | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/multimedia/minidlna/files/minidlna.init b/multimedia/minidlna/files/minidlna.init index 79be8f625..c894186d3 100644 --- a/multimedia/minidlna/files/minidlna.init +++ b/multimedia/minidlna/files/minidlna.init @@ -57,6 +57,7 @@ minidlna_create_config() { minidlna_cfg_addstr $cfg friendly_name minidlna_cfg_addstr $cfg db_dir minidlna_cfg_addstr $cfg log_dir + minidlna_cfg_addstr $cfg log_level 'error' minidlna_cfg_addbool $cfg inotify '1' minidlna_cfg_addbool $cfg enable_tivo '0' minidlna_cfg_addbool $cfg wide_links '0' |