Re: [Bug 1088711] Re: minidlna.log bloats to fill filesystem completely

2013-09-13 Thread Roland Neary
In my default file the I've got DAEMON_OPTS=""


On 13 September 2013 09:47, Gilles Gagniard wrote:

> Have you checked your /etc/default/minidlna ?
>
> If -v is passed as daemon option, the log_level directive is ignored in
> the configuration and debug traces are forced ... I just ran into this !
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> 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
>

-- 
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


[Bug 1088711] Re: minidlna.log bloats to fill filesystem completely

2013-06-10 Thread Roland Neary
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