minidlna: decrease minidlna log verbosity
authorPavel Kubelun <redacted>
Sun, 4 Feb 2018 12:02:22 +0000 (15:02 +0300)
committerPavel Kubelun <redacted>
Sat, 17 Feb 2018 16:29:45 +0000 (11:29 -0500)
commit70a7f396caed01beaae0c4f23cdbf89b55a7e1af
treeedb714ab1c44a50d9d36c355061a2b4525521066
parent255f4d2f9908fc722f15133fa2e5c911a6ad75cb
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 <redacted>
multimedia/minidlna/Makefile
multimedia/minidlna/files/minidlna.init
git clone https://git.99rst.org/PROJECT