Jump to content
Froxlor Forum
  • 0

apache logs ins logrotate packen...


peperoni

Question

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

1 answer to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...