Issue 7584 - slapd ignores loglevel packets, ber and parse.
Summary: slapd ignores loglevel packets, ber and parse.
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: documentation (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: 2.5.2
Assignee: Howard Chu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-07 07:18 UTC by SATOH Fumiyasu
Modified: 2021-02-26 23:35 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description SATOH Fumiyasu 2013-05-07 07:18:18 UTC
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.
Comment 1 Howard Chu 2013-05-07 10:39:37 UTC
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/

Comment 2 SATOH Fumiyasu 2013-05-07 16:52:44 UTC
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

Comment 3 Howard Chu 2021-02-15 18:10:22 UTC
fixed in master
Comment 4 Quanah Gibson-Mount 2021-02-15 18:18:17 UTC
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