Disable Logging for omslapd?
Posted: Mon May 07, 2007 6:50 am
Hello
I have a little problem with the omslapd and logging. It writes into /var/log/messages every time, an email is received and a search in the ldap-directory for the email-address is triggered (see below for the log-snippet).
I have set the loglevel for omslapd to 1 (omconflvl -a slapd 1), but the daemon still reports all queries to syslog.
How can I turn it off or only have errors reported?
current config:
OpenSuSE 10.1
omshowlvel -a |grep LDAP
LDAP Daemon 1
/var/log/messages
May 7 12:47:39 nb-v01-mail omslapd[383]: conn=14639 fd=9 connection from unknown (192.168.6.201)
May 7 12:47:39 nb-v01-mail omslapd[383]: conn=14639 op=0 SRCH base="o=scalix" scope=2 filter="(&(|(&(objectclass=scalixPerson)(omulcaps=*))(objectclass=scalixDistributionList)(sn=+bb))(mail=***emailaddress***))"
May 7 12:47:39 nb-v01-mail omslapd[383]: conn=14640 fd=11 connection from unknown (192.168.6.201)
May 7 12:47:39 nb-v01-mail omslapd[383]: conn=14639 op=0 RESULT err=0 tag=101 nentries=0
May 7 12:47:39 nb-v01-mail omslapd[383]: conn=14639 op=1 UNBIND
May 7 12:47:39 nb-v01-mail omslapd[383]: conn=14639 op=1 fd=9 closed errno=0
I have a little problem with the omslapd and logging. It writes into /var/log/messages every time, an email is received and a search in the ldap-directory for the email-address is triggered (see below for the log-snippet).
I have set the loglevel for omslapd to 1 (omconflvl -a slapd 1), but the daemon still reports all queries to syslog.
How can I turn it off or only have errors reported?
current config:
OpenSuSE 10.1
omshowlvel -a |grep LDAP
LDAP Daemon 1
/var/log/messages
May 7 12:47:39 nb-v01-mail omslapd[383]: conn=14639 fd=9 connection from unknown (192.168.6.201)
May 7 12:47:39 nb-v01-mail omslapd[383]: conn=14639 op=0 SRCH base="o=scalix" scope=2 filter="(&(|(&(objectclass=scalixPerson)(omulcaps=*))(objectclass=scalixDistributionList)(sn=+bb))(mail=***emailaddress***))"
May 7 12:47:39 nb-v01-mail omslapd[383]: conn=14640 fd=11 connection from unknown (192.168.6.201)
May 7 12:47:39 nb-v01-mail omslapd[383]: conn=14639 op=0 RESULT err=0 tag=101 nentries=0
May 7 12:47:39 nb-v01-mail omslapd[383]: conn=14639 op=1 UNBIND
May 7 12:47:39 nb-v01-mail omslapd[383]: conn=14639 op=1 fd=9 closed errno=0