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
In reply to Re: Log4perl log rotation in threadpool environment ("share")
by tye
in thread Log4perl log rotation in threadpool environment
by rmahin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |