Add RotatingFileHandler to sample config.
This commit is contained in:
parent
551a813160
commit
2b9fc9794d
|
@ -298,8 +298,8 @@ handlers = email
|
|||
level = ERROR
|
||||
|
||||
[handler_file]
|
||||
class = FileHandler
|
||||
args = ('rattail.log', 'a')
|
||||
class = handlers.RotatingFileHandler
|
||||
args = (u'rattail.log', u'a', 1000000, 20, u'utf_8')
|
||||
formatter = generic
|
||||
|
||||
[handler_console]
|
||||
|
|
Loading…
Reference in a new issue