http://www.perlmonks.org?node_id=1004118


in reply to Log4perl log rotation in threadpool environment

Use Win32API::File to open the log file with FILE_SHARE_DELETE enabled (which allows renaming while the file handle is still open) and tell Log4perl to log to that file handle.

- tye