peperoni Posted February 5, 2011 Share Posted February 5, 2011 Hi Zusammen, kann ich die Apache2 Logfiles der Customers unter /var/customers/logs/ durch logrotate packen lassen? Mir geht es um die Stats, das es da nicht zu Problemen kommt. Ich w?rde dann den Apache2 Lograotate vorgang um den Pfad der customers Logs erweitern... /var/log/apache2/*.log { weekly missingok rotate 52 compress delaycompress notifempty create 640 root adm sharedscripts postrotate if [ -f "`. /etc/apache2/envvars ; echo ${APACHE_PID_FILE:-/var/run/apache2.pid}`" ]; then /etc/init.d/apache2 reload > /dev/null fi endscript } Link to comment Share on other sites More sharing options...
d00p Posted February 5, 2011 Share Posted February 5, 2011 kannst du ohne probleme machen, wenn du akkurate stats willst aber nur 1x im monat Link to comment Share on other sites More sharing options...
Question
peperoni
Hi Zusammen,
kann ich die Apache2 Logfiles der Customers unter /var/customers/logs/ durch logrotate packen lassen?
Mir geht es um die Stats, das es da nicht zu Problemen kommt.
Ich w?rde dann den Apache2 Lograotate vorgang um den Pfad der customers Logs erweitern...
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.