[Nut-upsuser] How to turn off nut syslogd messages?
Arjen de Korte
nut+users at de-korte.org
Sun Jun 3 07:20:55 UTC 2007
Justin Piszcz wrote:
> I frequently login via upsc to check my UPS statistics, but it pollutes syslog:
>
> Jun 2 20:02:03 p34 upsd[3811]: Client on 127.0.0.1 logged out
> Jun 2 20:05:01 p34 upsd[3811]: Connection from 127.0.0.1
> Jun 2 20:05:01 p34 upsd[3811]: Client on 127.0.0.1 logged out
> Jun 2 20:05:01 p34 upsd[3811]: Connection from 127.0.0.1
> Jun 2 20:05:01 p34 upsd[3811]: Client on 127.0.0.1 logged out
> Jun 2 20:05:01 p34 upsd[3811]: Connection from 127.0.0.1
> Jun 2 20:05:01 p34 upsd[3811]: Client on 127.0.0.1 logged out
> Jun 2 20:05:01 p34 upsd[3811]: Connection from 127.0.0.1
> Jun 2 20:05:01 p34 upsd[3811]: Client on 127.0.0.1 logged out
> Jun 2 20:05:01 p34 upsd[3811]: Connection from 127.0.0.1
> Jun 2 20:05:01 p34 upsd[3811]: Client on 127.0.0.1 logged out
> Jun 2 20:05:01 p34 upsd[3811]: Connection from 127.0.0.1
> Jun 2 20:05:01 p34 upsd[3811]: Client on 127.0.0.1 logged out
> Jun 2 20:05:01 p34 upsd[3811]: Connection from 127.0.0.1
> Jun 2 20:05:01 p34 upsd[3811]: Client on 127.0.0.1 logged out
>
> How do I disable upsd from spamming syslog?
By configuring your syslog daemon to only log messages with a priority
higher than LOG_INFO.
Best regards, Arjen
More information about the Nut-upsuser
mailing list