in reply to Re: How to rotate and compress log files
in thread How to rotate and compress log files

with logrotate(8) (man logrotate) - that compresses stuff, too.
Am I correct to assume I should then simply log to a file without rotation using log4perl, then let logrotate handle both rotation and compression?
--
No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]

Replies are listed 'Best First'.
Re^3: How to rotate and compress log files
by shmem (Chancellor) on Aug 14, 2010 at 09:57 UTC

    Yes. No point in re-inventing this wheel IMHO if your OS provides a solid solution.
    Remember: Laziness, Impatience and Hubris :-)