Le 03/04/12 08:22, Tim Starling a écrit :
<snip>
> I thought so until I read about the output channel feature in rsyslog,
> then I decided to try using that instead. I deployed an rsyslog
> configuration change which splits off the apache log to a separate
> file from /var/log/syslog and limits it to 500MB including archives.
> Remote logging will continue to work as normal.
> 
> https://gerrit.wikimedia.org/r/#change,4149

I did not know that rsyslog could track file size. I thought about using
logrotate instead, but it is probably not going to guarantee the log
files are under a given threshold.

*gives yet another kudos to Tim*


-- 
Antoine "hashar" Musso


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to