SUMMARY: syslog filter howto ?

From: Bousquet Francois <>
Date: Fri Sep 10 2004 - 13:09:10 EDT
I found it before getting a answer :

slapd is logging on local4.debug and local4.debug by default so I had to
configured my syslogd that way :

# cat /etc/syslog.conf
*.debug;local4.none             /var/adm/messages
*.debug         @loghost
*.emerg         *;local4.debug        /var/adm/slapd

-----Original Message-----
From: Bousquet Francois 
Sent: September 10, 2004 11:01 AM
To: Mailing List - SunManagers (E-mail)
Subject: syslog filter howto ?

Hi SunManagers,

syslogd is running on my Solaris 7 box.

I have an OpenLDAP slapd configured and running (starting line :
/soft/openldap/libexec/slapd -h "ldaps:/// ldap:///")

/etc/syslog.conf is set to this :

# cat /etc/syslog.conf
*.debug         /var/adm/messages
*.debug         @loghost
*.emerg         *

The problem is that slapd is logging a lot on the syslogs and I would like
to filter stuff with the syslod and to put it in another log ex :

But syslogd doesn't seems to have other filter types except the facility or

How can I filter slapd logging ?
How can I know which facility.level a log to syslog is ?

Example of current syslog :
Sep 10 11:09:37 ub1981wfx01 slapd[27111]: conn=6 op=3 SRCH attr=uid
userPassword uidNumber gidNumber cn homeDirectory loginShell gecos
description objectClass
Sep 10 11:09:37 ub1981wfx01 slapd[27111]: conn=6 op=3 SEARCH RESULT tag=101
err=0 nentries=0 text=
Sep 10 11:09:51 ub1981wfx01 slapd[27111]: conn=9 fd=21 closed
Sep 10 11:09:51 ub1981wfx01 slapd[27111]: conn=10 fd=22 closed
sunmanagers mailing list
Received on Fri Sep 10 13:09:02 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:37 EST