Commit 8dcf12f7 authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#9715 Fix loglevel regression

Only set loglevel in server mode, not tool mode
parent 6ca85aa3
......@@ -656,11 +656,13 @@ config_logging(ConfigArgs *c) {
reset:
slap_debug = slap_debug_orig;
active_syslog = config_syslog;
if ( logfile_only ) {
slap_debug |= config_syslog;
ldap_syslog = 0;
} else {
ldap_syslog = config_syslog;
if ( slapMode & SLAP_SERVER_MODE ) {
if ( logfile_only ) {
slap_debug |= config_syslog;
ldap_syslog = 0;
} else {
ldap_syslog = config_syslog;
}
}
rc = 0;
break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment