mirror of https://github.com/jumpserver/jumpserver
perf: Support django shell run orm output SQL
parent
feee92daee
commit
8c4add241d
|
@ -136,6 +136,12 @@ LOGGING = {
|
|||
}
|
||||
}
|
||||
|
||||
if CONFIG.DEBUG_DEV:
|
||||
LOGGING['loggers']['django.db'] = {
|
||||
'handlers': ['console', 'file'],
|
||||
'level': 'DEBUG'
|
||||
}
|
||||
|
||||
SYSLOG_ENABLE = CONFIG.SYSLOG_ENABLE
|
||||
|
||||
if CONFIG.SYSLOG_ADDR != '' and len(CONFIG.SYSLOG_ADDR.split(':')) == 2:
|
||||
|
|
Loading…
Reference in New Issue