https://bugs.openldap.org/show_bug.cgi?id=9726
--- Comment #21 from Shawn McKinney <smckinney(a)symas.com> ---
After RTFM and RTFC (run the code)
Observations:
1. When 'logfile-only on' and logfile is not specified:
a. no messages to syslog or stderr (already clearly documented on man page, not
admin guide)
b. this message *always* goes to syslog: '''Mar 22 16:52:52 p01
slapd[158606]:
/opt/symas/etc/openldap/slapd.conf: line 10 (logfile-only on)'''
i. Which is good for troubleshooting
c. have turned off *all* logging
2. When 'logfile-only on' and logfile is specified:
a. debug messages -d now go to logfile.
i. documented in slapd-config.5 ```Specifying a logfile copies messages to both
stderr and the logfile.```
b. both -d and loglevel control logfile granuarlity, and are additive.
i. e.g. '-d packets' and 'loglevel stats' both routed to the specified
logfile.
3. When logfile-only is not on and a logfile is specified:
a. debug messages go to logfile and stderr, loglevel goes to syslog (documented
as above)
4. loglevel settings in slapd config have precendence over command line -s,
i.e. not additive (undocumented)
5. loglevel or -s 'packets' has no effect FWICT. To get packets, use '-d
packets' (undocumented)
--
You are receiving this mail because:
You are on the CC list for the issue.