[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: where is syslog called?
Put this on /etc/syslog.conf
local4.debug /var/log/slapd
and this on slapd.conf
loglevel 256
and restart syslogd
On Thu, 15 Mar 2001 15:32:51 +0100
"Michalski, Rafa³" <RMichalski@eragsm.pl> wrote:
> Sorry for trashing this list
> but nobody answered my post to opeldap-software
> "cannot find log messages".
> The problem is I cannot see logs on Solaris 8.
> Guessing from source greps,
> the syslog function is always called from macro
> Statslog defined in servers/slapd/slap.h,
> am I right?
> I started slapd under GDB
> and ordered breakpoint Statslog.
> But it reported no such function.
> It looks as if the macro was not seen,
> that is, condition defined(LDAP_SYSLOG) && defined (LDAP_DEBUG)
> was not met.
> But the configure script was run with
> only one option --prefix=/usr/local/ldap.
> Earlier I manually set CFLAGS to -g.
>
> Please give me some help how to enable logs.
>
> Rafal.
--
Rafael Rocha Neitzel <rneitzel@terra.com.br>/<rneitzel@corp.terra.com.br>
Terra Networks Brasil - www.terra.com.br
(51) 2844277 - (51) 99169095