rotate log is creating new file on thursday only
when we restarted apache web server after maintence ,it was not available.We found log file was to big and a new empty file was created and then web server was back in service.
we planned to solve this problem by using rotatelogs utility provided by Apache to rotate log file based on every week.
while progressing , noted that all new log file is creating on thursday only. we tried in several machines but result is same.
on every thursday a new log file is being created and all the logs on that week are getting appended to that file.
-rw-r--r-- 1 root root 1944 Nov 9 03:00 access_log.2005-11-03-00_00_00
-rw-r--r-- 1 root root 4631 Nov 16 10:30 access_log.2005-11-10-00_00_00
-rw-r--r-- 1 root root 35793 Nov 17 17:09 access_log.2005-11-17-00_00_00
-rw-r--r-- 1 root root 112411 Nov 24 23:14 access_log.2005-11-24-00_00_00
Note : all the file is created on thrusday (Nov 3,10,17,24 )
can anybody please give suggestion regarding this?