1

How do I get slapd to quiet down? Every second it's writing the same five lines to the /var/log/messages file.

May 24 13:16:09 servername slapd[21299]: conn=5866 op=15204 SRCH base="" scope=0 deref=2 filter="(objectClass=*)"
May 24 13:16:09 servername slapd[21299]: conn=5866 op=15204 SRCH attr=subschemaSubentry namingContexts altServer supportedExtension supportedControl supportedFeatures supportedSASLMechanisms supportedLDAPVersion vendorName vendorVersion
May 24 13:16:09 servername slapd[21299]: conn=5866 op=15204 SEARCH RESULT tag=101 err=0 nentries=1 text=
May 24 13:16:09 servername slapd[21299]: conn=5866 op=15205 SRCH base="o=od,c=us" scope=2 deref=2 filter="(|(|(|(|(cn:dn:=global)(cn:dn:=standards))(objectClass=organizationalUnit))(objectClass=organization))(&(&(objectClass=*)(cn:dn:=00026))(ou:dn:=dev)))"
May 24 13:16:09 servername slapd[21299]: conn=5866 op=15205 SEARCH RESULT tag=101 err=0 nentries=45 text=

These don't seem to be error messages to me. AFAIK, ldap is working fine. The openldap.org docs showed that I could add "loglevel 0" to slapd.conf, but that didn't help.

Any ideas how I can get this thing to shut the heck up?

Ed Manet
  • 522
  • 1
  • 5
  • 16

2 Answers2

2

Any ideas how I can get this thing to shut the heck up?

Many ways! Unconsciousness is perhaps the most absolute. Gags may also be effective.

For a more useful answer, consider filtering those messages: Is there a way to filter syslog entries?

Jeff Ferland
  • 20,239
  • 2
  • 61
  • 85
  • I do like this idea and will probably make use of it elsewhere. But I think it's more direct to put the gag right in the talker's mouth, rather than put plugs in my ears. :) – Ed Manet May 24 '12 at 18:40
1

You have search logging turned on. Turn off debugging.

You may need to edit /etc/sysconfig/openldap as well.

MikeyB
  • 38,725
  • 10
  • 102
  • 186