NewsBlur
NewsBlur copied to clipboard
Backend: newsblur.log grows forever, needs rotation
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' },
I noticed this too. We should fix this!