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

Re: effect of --disable-debug configure option





--On Wednesday, August 09, 2006 2:23 PM +0900 Kazu Nisimura <nisimura@gmail.com> wrote:

Hi,

On 8/9/06, Quanah Gibson-Mount <quanah@stanford.edu> wrote:


--On Wednesday, August 09, 2006 10:58 AM +0900 Kazu Nisimura
<nisimura@gmail.com> wrote:

> Hi,
>
> When I built slapd with ./configure --disable-debug option, slapd
> seems to log no messages to syslog.  (loglevel value is set to "any")
>
> Is this an intentional behavior, or am I missing something?

Have you read the man page for slapd.conf?

"any" is not a valid level for loglevel.

--Quanah

I'm using 2.3.25. Quoted from slapd.conf(5):

The keyword any can be used as a shortcut to enable logging at all
levels (equivalent to -1).  The keyword none, or the equivalent
integer representation, causes those messages that are logged
regardless of the configured loglevel to be logged.

Is this not the point?

Oh, dang, I missed that last bit.

Did you use "--enable-syslog" as one of your configure options? It is supposed to be auto-detected, maybe it failed for some reason on your platform?

--Quanah


-- Quanah Gibson-Mount Principal Software Developer ITS/Shared Application Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html