Trying to fix a logging bug?

This commit is contained in:
Scott Idem
2023-06-13 11:33:07 -04:00
parent 7f59f07a7d
commit 756913a9cd
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
import functools, logging
from app.config import settings
# from app.config import settings
# stream options: 'ext://sys.stderr' or 'ext://sys.stdout'
@@ -27,7 +27,7 @@ logging.config.dictConfig({
'level': 'NOTSET',
'class': 'logging.handlers.RotatingFileHandler',
'formatter': 'long',
'filename': settings.LOG_PATH['app'],
'filename': 'admin/log/app.log,
'maxBytes': 10485760, # 5,242,880 = 5 MB; 10,485,760 = 10 MB
'backupCount': 9
},