The term you are looking for is "log rotation". Most people would do this with an external utility like logrotate.
The Log::Log4Perl distribution contains a FAQ which includes the question How can I rotate a logfile with newsyslog?. The fact that newsyslog is singled out for attention would seem to imply that other log rotators "just work".
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg
In reply to Re: How to rotate Log4Perl logs?
by davorg
in thread How to rotate Log4Perl logs?
by palette
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |