Full_Name: SATOH Fumiyasu Version: master OS: URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (240b:10:2640:bf0:222:5fff:fe95:3cda) "slapd -s 'packets,ber,parse'" does not send specified log to syslog. slapd ignores "loglevel packets ber parse" in slapd.conf too. "slapd -d 'packets,ber,parse'" sends specified log to stderr as expected.
fumiyas@osstech.co.jp wrote: > Full_Name: SATOH Fumiyasu > Version: master > OS: > URL: ftp://ftp.openldap.org/incoming/ > Submission from: (NULL) (240b:10:2640:bf0:222:5fff:fe95:3cda) > > > "slapd -s 'packets,ber,parse'" does not send specified log to syslog. > slapd ignores "loglevel packets ber parse" in slapd.conf too. > > "slapd -d 'packets,ber,parse'" sends specified log to stderr as expected. > This works as intended. syslog is too slow to keep up with this output so it's only provided for debug. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
At Tue, 7 May 2013 10:39:47 GMT, hyc@symas.com wrote: > > "slapd -s 'packets,ber,parse'" does not send specified log to syslog. > > slapd ignores "loglevel packets ber parse" in slapd.conf too. > > > > "slapd -d 'packets,ber,parse'" sends specified log to stderr as expected. > > > This works as intended. syslog is too slow to keep up with this output so it's > only provided for debug. Some syslog implementation have "no sync" option (e.g. rsyslog version 3.12.4+ has $ActionFileEnableSync global option and defaults to "off") and is reasonably fast in some situation. Anyway, if this issue is a specification (limitation) of slapd, slapd(8) and slapd.conf(5) manpages should be fixed to describe it. Thanks. -- -- Name: SATOH Fumiyasu @ OSS Technology Corp. (fumiyas @ osstech co jp) -- Business Home: http://www.OSSTech.co.jp/ -- GitHub Home: https://GitHub.com/fumiyas/ -- PGP Fingerprint: BBE1 A1C9 525A 292E 6729 CDEC ADC2 9DCA 5E1C CBCA
fixed in master
Commits: • 9090dd72 by Howard Chu at 2021-02-15T18:09:47+00:00 ITS#7584 packets, BER, and parse loglevels Note these are only valid for debug output, not syslog