[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5067) olcLogLevel value is incorrect



quanah@zimbra.com wrote:
> Full_Name: Quanah Gibson-Mount
> Version: 2.3.37
> OS: NA
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (66.92.25.194)
> 
> 
> When using cn=config with a slapd.conf driven slapd, the value for olcLogLevel
> is not correct:
> 
> ldapsearch -LLL -x -h build -b "cn=config" -s base -D "cn=config" -W
> olcLogLevel
> Enter LDAP Password: 
> dn: cn=config
> olcLogLevel: None
> 
> However:
> 
> grep loglevel conf/slapd.conf
> loglevel 32768
> 
> And the logging that is happening is actually for level 32768.  Modifying the
> loglevel works, and once that is done, the right loglevel is shown.  However,
> this makes it impossible to know what loglevel is set via a remote query unless
> it has been changed.

>From slapd.conf(5), loglevel:
                32768  (0x8000  none)  only  messages  that  get logged
                       whatever log level is set

Seems to be correct.

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it
---------------------------------------