apcupsd logging
I'm using apcupsd to manage an APC SmartUPS 700. Is there a way that I can setup a log to where it will log when the power blinks, goes out, etc., but keep the log file small, to where it will only get so large before it starts trimming the beginning of the file back off?
Thanks in advance. |
You can manage logfiles independently of the application using 'logrotate'. See the man page for details.
--- rod. |
Quote:
Code:
|
What about power spikes, brownouts, etc.??? Are these automatically logged in the apcupsd.events file as well??
|
Quote:
Code:
>$ grep -i power /var/log/apcupsd.events |
Excellent, that is all I needed to know. Thank you.
|
All times are GMT -5. The time now is 05:08 PM. |