mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-12 22:10:16 +02:00
Change default logging level for extension logger.
This commit is contained in:
parent
530716d458
commit
db51abec1f
@ -221,7 +221,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': 'DEBUG',
|
'level': 'INFO',
|
||||||
'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',
|
||||||
|
@ -23,7 +23,7 @@ INSTALLED_APPS += [
|
|||||||
]
|
]
|
||||||
|
|
||||||
# To change the logging level for extensions, uncomment the following line.
|
# To change the logging level for extensions, uncomment the following line.
|
||||||
# LOGGING['handlers']['extension_file']['level'] = 'INFO'
|
# LOGGING['handlers']['extension_file']['level'] = 'DEBUG'
|
||||||
|
|
||||||
|
|
||||||
# Enter credentials to use MySQL/MariaDB. Comment out to use sqlite3
|
# Enter credentials to use MySQL/MariaDB. Comment out to use sqlite3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user