Trying to fix a logging bug?

This commit is contained in:
Scott Idem
2023-06-13 12:31:21 -04:00
parent 554010ee84
commit a4bfcdad16
3 changed files with 2 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ logging.config.dictConfig({
'level': 'NOTSET',
'class': 'logging.handlers.RotatingFileHandler',
'formatter': 'long',
'filename': 'admin/log/app.log',
'filename': settings.LOG_PATH['app'],
'maxBytes': 10485760, # 5,242,880 = 5 MB; 10,485,760 = 10 MB
'backupCount': 9
},