NewsBlur icon indicating copy to clipboard operation
NewsBlur copied to clipboard

Backend: newsblur.log grows forever, needs rotation

Open robsee opened this issue 1 year ago • 1 comments

I noticed that the newsblur.log did not appear to be honoring its maxBytes setting in settings.py. I believe the fix for this is to add backupCount into that log stanza. Example: 'log_file':{ 'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': LOG_FILE, 'backupCount': 5, 'maxBytes': 16777216, # 16megabytes 'formatter': 'verbose' },

robsee avatar Jan 30 '23 01:01 robsee

I noticed this too. We should fix this!

samuelclay avatar Feb 04 '23 18:02 samuelclay