LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problems with cronolog current / previous (https://www.linuxquestions.org/questions/linux-software-2/problems-with-cronolog-current-previous-60122/)

cliffyman 05-16-2003 10:44 AM

problems with cronolog current / previous
 
I'm using cronolog 1.6.2 on RedHat 7.2. The problem that I'm encountering is after an Apache graceful restart. Cronolog seems to maintain my current and previous links just fine when the month rolls over, but if I restart the server and then hit one of my websites, it points both previous and current to the current month's log. Has anyone else experienced this? Here is the code I use in my VirtualHost setting to invoke cronolog:

Code:

CustomLog "|/usr/local/sbin/cronolog
--symlink=/home/httpd/log/domain_tld/alias/current.log
--prev-symlink=/home/httpd/log/domain_tld/alias/previous.log
/home/httpd/log/domain_tld/alias/%Y_%m.log" combined



All times are GMT -5. The time now is 04:00 PM.