mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
log: Ability to log SQL queries (disabled by default)
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
4956a2a63a
commit
67ac86899a
@ -121,6 +121,11 @@ def get_configuration():
|
||||
'root': {
|
||||
'handlers': ['console'],
|
||||
'level': 'DEBUG' if cfg.develop else 'INFO'
|
||||
},
|
||||
'loggers': {
|
||||
'django.db.backends': {
|
||||
'level': 'INFO' # Set to 'DEBUG' to log database queries
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user