[Date Prev][Date Next]
help with logging
- To: openldap-software@OpenLDAP.org
- Subject: help with logging
- From: Floyd Wellershaus <email@example.com>
- Date: Wed, 26 Oct 2005 07:24:37 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=3h1s69tnCKLFupZtE6c6mV/opXbvtPlJjcYCnOnL7WE8kQcBDV+4DaNh0GIQF2NbqUJU6q50/Wg+UtEqi713KBqJT3paIrAmf6HrV35t7XRRiTbll94nF/iMlUOJOlbiK3xyHONH+hR6rUwnjZypwLbPWboUcslwuGFyQwMXyW4= ;
I have 2 instances of slapd running on AIX. and I want them to both go to separate logs.
For the first instance which defaults to LOCAL4, I have an entry in syslogs.conf for LOCAL4.debug to go to a file called /path/ldap.log.
That's working fine.
For the second instance, I want it to log to /path/ldap2.log.
So I start slapd with the -l option, using "..... -l LOG_LOCAL5....", and then setting up a line in syslog.conf for LOCAL5 to go to a file called /path/ldap2.log.
What happens is that slapd starts up still logging messages to ldap.log. It doesn't like my -l option.
Does anyone know how to do this ?
Your help is appreciated.