Skip to content

Commit

Permalink
Increase default log rotation thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindhagberg committed Nov 22, 2023
1 parent fb544d8 commit ac43c12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mregsite/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@

LOGGING_MAX_BODY_LENGTH = 3000

LOG_FILE_SIZE = os.environ.get("MREG_LOG_FILE_SIZE", 10 * 1024 * 1024)
LOG_FILE_COUNT = os.environ.get("MREG_LOG_FILE_COUNT", 5)
LOG_FILE_SIZE = os.environ.get("MREG_LOG_FILE_SIZE", 50 * 1024 * 1024)
LOG_FILE_COUNT = os.environ.get("MREG_LOG_FILE_COUNT", 10)
LOG_FILE_NAME = os.path.join(
BASE_DIR, os.environ.get("MREG_LOG_FILE_NAME", "logs/app.log")
)
Expand Down

0 comments on commit ac43c12

Please sign in to comment.