Hello... I noticed today that my access logs have not "rotated" properly. For Example: web7/log/web.log -> /home/vhost01_webroot/web7/log/2005/11/web.log Now that it is the month of December (12) should the symlink and logs have changed to: web7/log/web.log -> /home/vhost01_webroot/web7/log/2005/12/web.log What script handles this? I ran the php script that is in cron: vhost01:# /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php Warning: readlink(): Invalid argument in /root/ispconfig/scripts/shell/logs.php on line 125 Not sure if that is having anything to do with it???
and all of my logs have stopped logging access... interesting... I see there are *no* CustomLog entries in /etc/apache2/vhosts/Vhosts_ispconfig.conf. Where are the CustomLog entries? If I manually add it for a site logging works. Pft... I'm stumped.
There's one global log file which is specified in the main httpd.conf, and this global log file is splitted into the web log files each night by a cron job.
Dont add them manually! As falko posted the logdata is written to one big logfile and splitted nightly. The Data for December 1st will be written in the morning of december 2nd and the symlink will bechanged.