Skip to content

Commit 879991e

Browse files
committed
Increase individual log file size
1 parent a74a930 commit 879991e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

consumer/record_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
'%(asctime)s.%(msecs)03d [%(module)s] %(levelname)s %(funcName)s - %(message)s',
2121
'%H:%M:%S'
2222
)
23-
handler = handlers.RotatingFileHandler('/app/logs/record_processor.log', maxBytes=1000, backupCount=5)
23+
handler = handlers.RotatingFileHandler('/app/logs/record_processor.log', maxBytes=10**6, backupCount=5)
2424
handler.setLevel(logging.INFO)
2525
handler.setFormatter(formatter)
2626
logger.addHandler(handler)

0 commit comments

Comments
 (0)