[patch] Add logrotate support
Justin Clift
jclift at redhat.com
Fri Jul 8 14:27:04 UTC 2011
On 08/07/2011, at 2:34 PM, Pete Zaitcev wrote:
> Logfile of iwhd grows quite quickly, especially if someone adds -v.
> I saw 100 GB log at one of test machines. We need to rotate them.
> For that, the daemon has to be able to reopen the log, which is not
> possible if it simply dumps everything to standard error. An ideal
> ipproach would be to have all messages printed through a logging
> facility. However, that requires a lot of patching, and there is a
> question of what to do with library output (if any). This patch
> offers a stop-gap solution, where we add a log rotation facility
> of our own standard error.
That's weird. It's been documented as logging to:
/var/log/iwhd.log
on the main Aeolus website for a while:
http://www.aeolusproject.org/log_files.html#iwhd
Does that mean the website has been incorrect so far, but
will be correct once these patches are in?
Regards and best wishes,
Justin Clift
--
Aeolus Community Manager
http://www.aeolusproject.org
More information about the iwhd-devel
mailing list