rotate(source, dest)
When rotating, rotate the current log.
The default implementation calls the ‘rotator’ attribute of the handler, if it’s callable, passing the source and dest arguments to it. If the attribute isn’t callable (the default is None
), the source is simply renamed to the destination.
Parameters: |
|
---|
New in version 3.3.
Please login to continue.