[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Logging events to a log file
- To: "openldap-technical@openldap.org" <openldap-technical@openldap.org>
- Subject: Logging events to a log file
- From: Mik J <mikydevel@yahoo.fr>
- Date: Sat, 22 Sep 2012 19:27:19 +0100 (BST)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1348338439; bh=Qo98oTAeQtBCqfrDCU5mNXxAwp4g6fZ+AHY/ihgKTME=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Xwxcbqq1eKoWje0AIuES5MleU/sVO+Fs/0O3HdHGZuuz0eQnw1omre/iXzmoxsIS6kZaY8b/Ot7/fgu34CixdYRNfUdDA8dgv5//JiL8nPkFFSxfcCh7Awv1CAcKcPpWlTMBnI3sWI5LXl3KWrebDW6774Vk88l2z7fXqZL1EJ0=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=1XuYVgszZ4dSe6B7RoUQLDoDTU/p2V/G+YqMqeF7vsPNPrNwddSQIcYQ6hZaQK8S2lEwWb4PFWXtIBBI3E0wclfir0t2MVvoX2Vf6pxs2aYqjeB+53WEaeYbgo3yGPl9bzYh2lur1KqyhP/Cz2FNsXYZR/3u1FQOz+N2m0uMSpI=;
Hello List,
When I start slapd with the option -d 256 I can see what's happening when there's a connection
# /usr/local/libexec/slapd -4 -d 256 -u _openldap -g _openldap -h ldaps:///
However I would like to have this in a log file and I added these lines to slapd.conf
loglevel 256
logfile /var/log/slapd.log
But my log file remains empty after I start the server with (without -d 256)
# /usr/local/libexec/slapd -4 -u _openldap -g _openldap -h ldaps:///
However if I start the server with
# /usr/local/libexec/slapd -4 -d 256 -u _openldap -g _openldap -h ldaps:///
The events display on the screen and in the slapd.log file as well. This behavior surprises me, am I missing something ?
My ldap server version is 2.4.26p0
Thank you