Add RotatingFileHandler to sample config.

This commit is contained in:
Lance Edgar 2014-05-31 22:25:46 -07:00
parent 551a813160
commit 2b9fc9794d

View file

@ -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]