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

What expect to log at info level?



Dear Team,

I'm using CentOS 5, some machines with OpenLDAP 2.3.43-12, some with
2.4.23-15, on both 32 and 64-bit architectures.

I am puzzled by the lack of logging I see.

In all cases, I am using slapd.conf OpenLDAP configuration.

I am running slapd with the option -l local0:
# ps auxwww | grep slap[d]
ldap     17866  0.0  1.7 242104  9000 ?        Ssl  15:54   0:00 /usr/sbin/slapd -h ldap:/// -u ldap -l local0

With this in /etc/syslog.conf:
local0.info						-/var/log/ldap

and this:
# grep loglevel /etc/openldap/slapd.conf
loglevel     -1

I get nothing logged when I restart OpenLDAP, nor when I search (and
get output).

However, if I change the /etc/syslog.conf entry to:
local0.*						-/var/log/ldap

I get plenty of output into /var/log/ldap.

QUESTIONS:

1. What should I expect to be logged at info priority with loglevel -1?
2. Does anyone have any suggestions of what I may be missing here?
--
Nick Urbanik http://nicku.org 808-71011 nick.urbanik@optusnet.com.au
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24  ID: BB9D2C24
I disclaim, therefore I am.