[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#4949) olcLogLevel not functioning as expected after conversion via '-f slapd.conf -F slapd.d'
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#4949) olcLogLevel not functioning as expected after conversion via '-f slapd.conf -F slapd.d'
- From: hyc@symas.com
- Date: Fri, 4 May 2007 23:21:01 GMT
erici@motown.cc.utexas.edu wrote:
> Full_Name: Eric Irrgang
> Version: 2.3.35
> OS: Solaris 9
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (128.83.93.52)
>
>
> When a slapd.conf file is converted to cn=config with -f and -F the loglevel
> parameter gets converted into multiple olcLogLevel=keyword attribute/value
> pairs. However, only the last one in the configuration seems to apply.
> Manually updating
> dn: cn=config
> changetype: modify
> replace: olcLogLevel
> olcLogLevel: keyword1 keyword2 ...
> -
>
> gets the intended logging behavior.
>
> Either the conversion should put all of the loglevel masks in the same
> olcLogLevel value or cn=config should AND all of the olcLogLevel values.
You mean OR of course, not AND.
Yes, the code only does ORs correctly when multiple levels are set at
once. Oops.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/