View Single Post
Old 5th April 2012, 22:51   #3
Junior Member
Join Date: Apr 2012
Posts: 4
Thanks for your response, DrO.

Well, one of the benefits I see is to avoid inconsistencies on reports just as the one I described above.

Honestly, shit happens, unfortunately. Sometimes servers crash and services die unexpectedly, specially when you have lots of them or when you're running in the cloud and have no control of the physical hardware.

Moreover, that's the first time I see a linux service rotating its own logs. All the other services I've seen delegate this task to the linux logrotate tool (apache, bind, squid, postfix and so on).

One of the reasons they do so is to have a centralized log rotation tool which works for all daemons, no matter how they're developed. This way you don't have to implement and manage one rotation mechanism per service/daemon and you don't rely on them to get the job done. That's the second and most important benefit.
luis.alen is offline   Reply With Quote