In the old days I would move the Apache logs to one side, renaming them as I went, then restart the Apache. When I could use a ‘graceful’ restart this wasn’t to bad, but now I need to use a ‘restart’ (‘cos graceful seems to bork with PHP) I feel uncomfortable about kicking out connections. So I was looking for options I came across something I should have known about before, but didn’t, “rotatelogs – Piped logging program to rotate Apache logs“. This seems like a nice solution, but I worry about reliability etc. Has anyone any experience of doing things this way? I would be interested to hear about them 🙂
Apache log managament.
Comments
4 responses to “Apache log managament.”
-
Have used it on a couple of very high load servers (solaris 8) and didn’t have any problems.
-
I think we used to use http://cronolog.org/ at iii.
-
What’s the PHP problem?
-
Used to use it a few years back w/o any probs…
Leave a Reply