mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
ITS#9715 Fix loglevel regression
Only set loglevel in server mode, not tool mode
This commit is contained in:
parent
6ca85aa3a8
commit
8dcf12f7da
1 changed files with 7 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue