Apache log managament.

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 🙂


Posted

in

,

by

Tags:

Comments

4 responses to “Apache log managament.”

  1. zootalures avatar
    zootalures

    Have used it on a couple of very high load servers (solaris 8) and didn’t have any problems.

  2. mstevens avatar
    mstevens

    I think we used to use http://cronolog.org/ at iii.

  3. welikegoats avatar
    welikegoats

    What’s the PHP problem?

  4. juamei avatar
    juamei

    Used to use it a few years back w/o any probs…

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.