Skip to content

Commit a165169

Browse files
author
aintsay
committed
set backupCount for logs to 30 days (~ a month)
1 parent 7c8b7d3 commit a165169

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

conf/logs.conf

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class=handlers.TimedRotatingFileHandler
1616
level=DEBUG
1717
formatter=fileFormatter
1818
args=(os.path.join(os.getenv("PIPE_LOGSPATH", "logs"), os.getenv("PIPE_HANDLER", "handler") + ".log"), 'midnight')
19+
backupCount=30
1920

2021
[formatter_fileFormatter]
2122
format=%(asctime)s %(levelname)s: %(message)s

0 commit comments

Comments
 (0)