On my system there is a log_level option in /etc/minidlna.conf. However,
none of the options seem to work. Even with log_level=off my
/var/log/minidlna.log is full off errors:

[2013/06/10 11:50:05] minidlna.c:898: warn: Starting MiniDLNA version 1.0.24 
[SQLite 3.7.15.2].
[2013/06/10 11:50:05] minidlna.c:926: warn: Creating new database...
[2013/06/10 11:50:05] minidlna.c:1006: warn: HTTP listening on port 8200
[2013/06/10 11:50:09] upnphttp.c:1054: warn: HTTP Connection closed unexpectedly
[2013/06/10 11:50:14] upnphttp.c:1054: warn: HTTP Connection closed unexpectedly
[2013/06/10 11:50:19] upnphttp.c:1054: warn: HTTP Connection closed unexpectedly
[2013/06/10 11:50:24] upnphttp.c:1054: warn: HTTP Connection closed unexpectedly
[2013/06/10 11:50:29] upnphttp.c:1054: warn: HTTP Connection closed unexpectedly


The given options for log_level are "off", "fatal", "error", "warn", "info" or 
"debug". I would expect that the off and fatal settings disable these errors 
and thus prevent the file from bloating.

As a little workaround you could use logrotate to tidy it up for you:

/var/log/minidlna.log {
       daily
       rotate 2
       delaycompress
       compress
       notifempty
       missingok
}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1088711

Title:
  minidlna.log bloats to fill filesystem completely

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/minidlna/+bug/1088711/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to