[Date Prev][Date Next]
Re: (ITS#6659) logfile directive not logging any log
Thank you for your reply!
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
On Tue, Sep 28, 2010 at 8:26 AM, <email@example.com> wrote:
>> Full_Name: Soichi Hayashi
>> Version: 2.3.43-12.el5_5.2
>> OS: RHEL5
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (126.96.36.199)
>> I have following in my slapd.conf
>> logfile /var/log/ldap.log
>> When I start slapd, it creates the file specified but the filesize remai=
>> although I see a lot of log sent to syslog.
>> It looks like the logging through "logfile" directive is not working.
> According to the documentation, this directive collects messages that are
> sent to stderr when "-d" is used, so it is not related to syslog. =A0It i=
> equivalent to
> $ slapd -d <level> >>/var/log/ldap.log 2>&1
> I've checked recent code and it works as expected. =A0Unless this is what
> you're expecting, and it does not happen, this ITS will be closed.