[Logcheck-devel] mt-daapd logcheck patterns

Gavin McCullagh gmccullagh at gmail.com
Fri Oct 5 09:41:49 UTC 2007


Hi,

I run the mt-daapd server software for serving mp3s in an itunes/windows
media player compatible way.  In getting it working just right, I
configured it to log to /var/log/mt-daapd.log, though by default it doesn't
seem to log anywhere.  I also configured it to scan the library when a
user connects.

Now I get normal log messages like:

Oct  3 23:56:18 localhost mt-daapd[5039]: Rescanning database                                          
Oct  3 23:56:21 localhost mt-daapd[5039]: Starting playlist scan                                                                                                                                                    
Oct  3 23:56:22 localhost mt-daapd[5039]: Scanned 1464 songs (was 1464) in 4 seconds
Oct  4 00:01:25 localhost mt-daapd[5039]: Rescanning database
Oct  4 00:01:28 localhost mt-daapd[5039]: Starting playlist scan
Oct  4 00:01:28 localhost mt-daapd[5039]: Scanned 1464 songs (was 1464) in 3 seconds

Can I therefore suggest creation of /etc/logcheck/ignore.d.server/mt-daapd,
containing:

^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ mt-daapd\[[0-9]+\]: Rescanning database
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ mt-daapd\[[0-9]+\]: Starting playlist scan
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ mt-daapd\[[0-9]+\]: Scanned [[:digit:]]+ songs (was [[:digit:]]+) in [[:digit:]]+ seconds

Thanks,
Gavin





More information about the Logcheck-devel mailing list