On 03/04/12 15:58, Antoine Musso wrote: > Le 03/04/12 01:30, Leslie Carr a écrit : >> On some machines /tmp is a separate partition, but / is still filled >> up. This appears to be due to a huge amount of php errors filling the >> logs > > Either we should stop Apache logging entirely (since logs are already > sent on a central host anyway) or at least have /var/log/apache mounted > on a dedicated partition.
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 -- Tim Starling _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
