'Is Python's logger able to rotate log files?

Is there a way to use the logging module shipped within python to rotate the log file? Like that in logrotate?

I used logrotate but it gave some bizzare result.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source