Commit graph

5 commits

Author SHA1 Message Date
Pavel Kubelun
70a7f396ca 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>
2018-02-17 11:29:45 -05:00
James Christopher Adduono
0b7272f967 minidlna: add allow wide links option
Some users might create a minidlna root with symlinks
to shared locations. While this could potentially create
a vulnerability, the option should be available to allow
users to do this should they choose to.

wide_links=no : (default) no content served + error message
 [timestamp] upnphttp.c:1366: error: Rejecting wide link X

wide_links=yes : content served, no error messages

Signed-off-by: James Christopher Adduono <jc@adduono.com>
2017-10-16 21:18:43 -04:00
Ted Hess
437a95666a minidlna: Add path to correct PID file for start-stop-daemon
Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-12-20 10:41:21 -05:00
medaved
5d65cd1df5 Update minidlna to 1.1.3 version 2014-07-21 16:10:59 +04:00
medaved
0daad9cc9c first commit 2014-07-15 21:13:56 +04:00