[Date Prev][Date Next]
Re: (ITS#4666) -d ? says: unrecognized log level '?'
> firstname.lastname@example.org wrote:
>>> This is great, although I am not sure what the NOTE means exactly. I
>>> assume the OpenLDAP log system is extensible, e.g., I could write an
>>> overlay that added a log subsystem named Stats3? Or it would only be
>>> selectable with -d using a number such as 65536?
>> It is. As far as I know, pcache is the only official overlay that adds
>> a log level; however, this occurs after options parsing. In that case,
>> we should defer handling of "-d '?'" to after backends (and overlays)
>> are initialized. I'll leave this for later.
> Should be fixed now as well. I'm afraid in some cases, if an error
> occurs during the setup of everything, logging might not occur. Please
It might be sufficient to log all the hardcoded levels up front, note
that the list was requested, and then (if requested) spit out a new
message whenever new levels are registered.
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc
OpenLDAP Core Team http://www.openldap.org/project/