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

Re: (ITS#4091) log level modification via slapd-monitor is broken



On Sat, 2005-10-15 at 13:36 +0000, ando@sys-net.it wrote:
> Full_Name: Pierangelo Masarati
> Version: HEAD/re23
> OS: irrelevant
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (81.74.43.82)
> Submitted by: ando
> 
> 
> I think this code is broken since NEW_LOGGING was zapped.  The ordinal of the
> log level, instead of the bitmask, is being ORed to the log level variable.
> 
> This is now fixed in HEAD.
> 
> The point to whether this feature should be maintained now that configuration
> occurs via slapd-config is open.  I think it should remain as it provides the
> capability to modify the configuration in a volatile manner, as opposed to
> permanent modifications resulting thru slapd-config.

This code should be in any case updated to reflect the capability to
register user-defined log levels.  In fact, it should exploit the
loglevel setup infrastructure implemented for slapd-config.

p.



    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497