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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Log4perl log rotation in threadpool environment ("share")
by rmahin (Scribe) on Nov 16, 2012 at 18:33 UTC | |
by tye (Sage) on Nov 16, 2012 at 18:50 UTC |