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