mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-16 07:50:16 +02:00
Change level of extension_file
handler, rename the logger from allianceauth.extensions
to extensions
and remove propagate
from the logger.
This commit is contained in:
parent
e54b80e061
commit
527d7ef671
@ -219,7 +219,7 @@ LOGGING = {
|
|||||||
'backupCount': 5, # edit this line to change number of log backups
|
'backupCount': 5, # edit this line to change number of log backups
|
||||||
},
|
},
|
||||||
'extension_file': {
|
'extension_file': {
|
||||||
'level': 'INFO',
|
'level': 'DEBUG',
|
||||||
'class': 'logging.handlers.RotatingFileHandler',
|
'class': 'logging.handlers.RotatingFileHandler',
|
||||||
'filename': os.path.join(BASE_DIR, 'log/extensions.log'),
|
'filename': os.path.join(BASE_DIR, 'log/extensions.log'),
|
||||||
'formatter': 'verbose',
|
'formatter': 'verbose',
|
||||||
@ -242,10 +242,9 @@ LOGGING = {
|
|||||||
'handlers': ['log_file', 'console', 'notifications'],
|
'handlers': ['log_file', 'console', 'notifications'],
|
||||||
'level': 'DEBUG',
|
'level': 'DEBUG',
|
||||||
},
|
},
|
||||||
'allianceauth.extensions': {
|
'extensions': {
|
||||||
'handlers': ['extension_file', 'console'],
|
'handlers': ['extension_file', 'console'],
|
||||||
'level': 'DEBUG',
|
'level': 'DEBUG',
|
||||||
'propagate': False,
|
|
||||||
},
|
},
|
||||||
'django': {
|
'django': {
|
||||||
'handlers': ['log_file', 'console'],
|
'handlers': ['log_file', 'console'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user