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

Re: Is the monitor backend writable?

Howard Chu <hyc@symas.com> writes:

> Ferenc Wagner wrote:
>> From http://www.openldap.org/faq/data/cache/358.html:
>>      dn: cn=Log,cn=Monitor
>>      changetype: modify
>>      add: managedInfo
>>      managedInfo: stats
>>      managedInfo: stats2
>> I'm running 2.4.40 with cn=config, olcLoglevel: stats (thus I can change
>> the log level anyway), but cn=Log,cn=Monitor does not contain any
>> managedInfo attributes (at least
>> $ ldapsearch -x -H ldapi:/// -D cn=monitor -W -b cn=Log,cn=Monitor managedInfo
>> does not return any; cn=monitor is the rootDN of the monitor database).
>> My questions:
>> 1. Is the above FAQ entry outdated?
> No, it is correct.

So does slapd log according to the union of the managedInfo values of
cn=Log,cn=Monitor and the olcLoglevel values of cn=config?  That would
explain the lack of managedInfo attributes in my setup.