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

Re: (ITS#6659) logfile directive not logging any log

> I am running multiple BDII servers (listening on different port), and
> I need them to log to different location. If I understand correctly,
> "logfile" directive only works to capture stderr messages (not stats,
> or other logs currently sent to syslog). Since I can't tell syslog to
> log to a different file based on which instance of LDAP server, logs
> from both server goes to a single file in /var/log.
> Is there anyway that I can redirect logs from each LDAP server to a
> different locations?

You can use '-l' to have different instances of slapd log as different
syslog users.  See slapd(8) and syslog(8) for further details.

Please direct further sofware usage questions to the most appropriate
mailing lists (openldap-technical for OpenLDAP software; Syslog-specific
lists for syslog(8) detaild usage).  This ITS will be closed.