PDA

View Full Version : Apache log question


arcejorge
29th July 2005, 05:56
Hi, i´m here again, is it safe if i edit apache conf file to get the log in one single file and change the format to use with awstats, because i saw that the log files are per day and the format is different than what it was before installing ISPConfig

thanks

Regards

Jorge

till
29th July 2005, 10:43
Hi, i´m here again, is it safe if i edit apache conf file to get the log in one single file and change the format to use with awstats, because i saw that the log files are per day and the format is different than what it was before installing ISPConfig

thanks

Regards

Jorge

Yes, ist is safe to edit httpd.conf, ISPConfig changes only the included
VHost_ispconfig.conf file. I recommend not to change the currently generated
logs, because you will get wrong traffic results in the webinterface.
Just add a new custom logfile for awstats.

The Logfiles currently are per month, splitted for every vhost, generated
nightly by a cronjob. run crontab -e as root and search for a script named
logsplit.php if you want to see how it works :)