in reply to Log4perl log rotation in threadpool environment
Maybe you can:
- copy the existing log file to a new name
e.g. copy log_file to log_file.2012-11-16 - truncate the log file
- Optionally zip the archive file
That way the file handle for the log file doesn't change.
A Monk aims to give answers to those who have none, and to learn from those who know more.
In Section
Seekers of Perl Wisdom