Page 1 of 1
debug syslog spamming
Posted: Fri Jan 29, 2010 1:32 pm
by n1md4
Syslog is getting spammed with this:-
Jan 29 13:30:26 ***** zms[24068]: INF [Debug Level = 0, Debug Log = <none>]
How can I switch this part of logging off? I noticed the Options -> Debug tab on the webpage, but none of the options are ticked.
Thanks,
n1md4
Posted: Mon Feb 01, 2010 2:25 pm
by zoneminder
You can either recompile zms with the default debug level to be -1 or less (look for DbgInit) or you can redirect this kind of message as detailed in the Logging section of the main documentation on the Wiki.
Ubuntu logging
Posted: Wed Dec 15, 2010 6:41 pm
by haus
I'm placing this here so that others may find it with a search. I read that as of Ubuntu 9.10, sysklogd has been replaced with rsyslog. The configuration file for the local1 facility edits changed from /etc/syslog.conf to /etc/rsyslog.d/50-default.conf. Make the edits outlined in the Wiki as needed (to disable all logging, or info only leaving warnings, etc.)
Then issue "service rsyslog restart"
and the messages to /var/log/message and /var/log/syslog will stop.
Posted: Mon Feb 14, 2011 12:12 am
by attilahooper
thx Haus, yer exactly right for Ubuntu 9.10
In 50-default.conf add the line
local1.* /var/log/zm/zm.log
and edit these lines with the local1.!* inclusion
*.*;auth,authpriv.none;local1.!* -/var/log/syslog
*.=info;local1.!*;*.=notice;*.=warn;\
auth,authpriv.none;\
cron,daemon.none;\
mail,news.none -/var/log/messages