Apache log rotation with mod_log_rotate question
First - thank you for developing the replacement for rotatelogs that you have posted... vast improvement!!
Now - my problem - once in a while after Apache rotates logs at midnight the new log file does not 'start' - the log information is retained in one of the two instances of Apache running (and that instance slowly uses more memory - probably storing the log data) and does not appear to write to the disk log file (the file size and date stamp do not change) - if I view the new log file, it has the accumulated information - if I stop/restart Apache it then writes the data to the log file and begins to record the information onto the disk as it is happening.
Thoughts??
Charles Michener
Hi Charles,
I posted your email in the Forums. Please do not email these issues to me. Post directly in the forums, thanks.
This is probably due to buffering.
In other words it appear that if the log file already exist mod_log_rotate does not buffer. But when mod_log_rotate creates the new log it does perform some buffering.
Did I summarize what you are saying correctly ?
Chris

delicious
digg
reddit
google
technorati
Joined: