scriptharness / python-scriptharness

http://python-scriptharness.readthedocs.org/
Mozilla Public License 2.0
2 stars 2 forks source link

add log rotation #5

Open escapewindow opened 9 years ago

escapewindow commented 9 years ago

We'd probably call this before or inside of scriptharness.log.get_file_handler() https://github.com/scriptharness/python-scriptharness/blob/e557fce831775c910e3345fdd852fffaff141251/scriptharness/log.py#L95

Ideally it would be a generic function that could rotate any file type on posix or windows.