Hacker News new | ask | show | jobs
by seanmonstar 4647 days ago
I plan to make a RotatingFile handler, but at the same time, what's wrong with Unix logrotate?
1 comments

It's used in conjunction with logrotate.

Long-running programs will happily continue using the same file handle until they are signaled in some way to reopen the file path (usually in response to USR1 and HUP). See Nginx, Apache httpd, MongoDB, etc.