andreas1234567 has asked for the wisdom of the Perl Monks concerning the following question:
I have used Log::Log4perl and Log::Dispatch::FileRotate for a long time, but have recently run into problems running short of disk space. I expected it to be simple to not only rotate but also compress the log files, noting that such functionality is included in the TODO.
Searching the intarwebs revealed first of all that I was not the first to think of the matter, secondly that it seems harder than I expected.
As I understand it the main challenge is to prevent a long running compression process to block the logging itself.
Adding that I operate mainly in Unix/Linux-land, how should I proceed?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to rotate and compress log files
by shmem (Chancellor) on Aug 12, 2010 at 19:19 UTC | |
by dont_you (Hermit) on Aug 12, 2010 at 23:40 UTC | |
by andreas1234567 (Vicar) on Aug 13, 2010 at 11:03 UTC | |
by shmem (Chancellor) on Aug 14, 2010 at 09:57 UTC | |
|
Re: How to rotate and compress log files
by afoken (Chancellor) on Aug 14, 2010 at 07:29 UTC |