Log rotation daemons (e.g. logadm) versus Custom bash scripts?

Posted by victorhooi on Server Fault See other posts from Server Fault or by victorhooi
Published on 2011-03-01T06:27:41Z Indexed on 2011/03/01 7:26 UTC
Read the original article Hit count: 553

Filed under:
|
|

Hi,

We have a number of applications that generate fairly large (500Mb a day) logfiles that we need to archive/compress on a daily basis.

Currently, the log rotation/moving/compressions is done either via custom bash scripts and scheduled via Cron, or in the application's code itself.

What (if any) are the advantages of using a system daemon like logadm? (These are Solaris boxes).

Cheers, Victor

© Server Fault or respective owner

Related posts about logging

Related posts about solaris