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