> It would be helpful for the FileHandler class to define a method > which just closes and reopens the current logfile (instead of > actually rotating a set like-named logfiles). This would allow > logfile rotation to be performed by a separate process (e.g. > RedHat's logrotate). Sometimes it's better (and even necessary) to > be able to use system-provided log rotation facilities instead of > relying on the native rotation facilities. Maybe this could be a different Handler subclass? I have to admit that I find log rotation borderline functionality for the logging module. Perhaps Chris' suggestion is sufficient. --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4