set rotating logs to max 5 files of 100MB each
This commit is contained in:
parent
6f0ea2580b
commit
002a84ba5a
|
@ -63,7 +63,7 @@ args=(sys.stderr,)
|
||||||
class=handlers.RotatingFileHandler
|
class=handlers.RotatingFileHandler
|
||||||
level=DEBUG
|
level=DEBUG
|
||||||
formatter=fileFormatter
|
formatter=fileFormatter
|
||||||
args=('%(logFile)s', 'a', 50000, 5)
|
args=('%(logFile)s', 'a', 100000000, 5)
|
||||||
|
|
||||||
[formatter_fileFormatter]
|
[formatter_fileFormatter]
|
||||||
format=%(asctime)s - %(name)-12s %(levelname)-8s %(message)s
|
format=%(asctime)s - %(name)-12s %(levelname)-8s %(message)s
|
||||||
|
|
Loading…
Reference in New Issue
Block a user