mirror of https://github.com/jumpserver/jumpserver
Update logging
parent
d4ed6a97a5
commit
a4fa15a7de
|
@ -229,6 +229,10 @@ LOGGING = {
|
||||||
'ops.ansible_api': {
|
'ops.ansible_api': {
|
||||||
'handlers': ['console', 'ansible_logs'],
|
'handlers': ['console', 'ansible_logs'],
|
||||||
'level': LOG_LEVEL,
|
'level': LOG_LEVEL,
|
||||||
|
},
|
||||||
|
'django_auth_ldap': {
|
||||||
|
'handlers': ['console', 'ansible_logs'],
|
||||||
|
'level': LOG_LEVEL,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -312,7 +316,6 @@ AUTH_LDAP_USER_DN_TEMPLATE = CONFIG.AUTH_LDAP_USER_DN_TEMPLATE
|
||||||
AUTH_LDAP_START_TLS = CONFIG.AUTH_LDAP_START_TLS
|
AUTH_LDAP_START_TLS = CONFIG.AUTH_LDAP_START_TLS
|
||||||
AUTH_LDAP_USER_ATTR_MAP = CONFIG.AUTH_LDAP_USER_ATTR_MAP
|
AUTH_LDAP_USER_ATTR_MAP = CONFIG.AUTH_LDAP_USER_ATTR_MAP
|
||||||
|
|
||||||
|
|
||||||
# Celery using redis as broker
|
# Celery using redis as broker
|
||||||
BROKER_URL = 'redis://:%(password)s@%(host)s:%(port)s/3' % {
|
BROKER_URL = 'redis://:%(password)s@%(host)s:%(port)s/3' % {
|
||||||
'password': CONFIG.REDIS_PASSWORD if CONFIG.REDIS_PASSWORD else '',
|
'password': CONFIG.REDIS_PASSWORD if CONFIG.REDIS_PASSWORD else '',
|
||||||
|
|
Loading…
Reference in New Issue