diff --git a/src/paperless/settings.py b/src/paperless/settings.py index d518249c6..718738f71 100644 --- a/src/paperless/settings.py +++ b/src/paperless/settings.py @@ -313,7 +313,7 @@ setup_logging_queues() os.makedirs(LOGGING_DIR, exist_ok=True) -LOGROTATE_MAX_SIZE = os.getenv("PAPERLESS_LOGROTATE_MAX_SIZE", 1000000) +LOGROTATE_MAX_SIZE = os.getenv("PAPERLESS_LOGROTATE_MAX_SIZE", 1024*1024) LOGROTATE_MAX_BACKUPS = os.getenv("PAPERLESS_LOGROTATE_MAX_BACKUPS", 20) LOGGING = {