Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Quanah Gibson-Mount
OpenLDAP
Commits
8dcf12f7
Commit
8dcf12f7
authored
Oct 26, 2021
by
Howard Chu
Committed by
Quanah Gibson-Mount
Oct 26, 2021
Browse files
ITS#9715 Fix loglevel regression
Only set loglevel in server mode, not tool mode
parent
6ca85aa3
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/logging.c
View file @
8dcf12f7
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment