Dear sir,
I am using openldap 2.4.8 and my compile option is :
./configure --enable-modules=yes --enable-ppolicy=yes --enable-overlays=yes --enable-syncprov=yes --with-cyrus-sasl --enable-wrappers
My slapd.conf :
loglevel any logfile /var/lib/ldap/ldap.log
I start the openldap by following command :
/usr/local/libexec/slapd -f /usr/local/etc/openldap/slapd.conf
And then, I add some entries using java and check the log ldap.log, but the size is 0 bytes, nothing logged !!!
Can anyone tell me what's wrong ?
Thanks
Confidential Communication - This e-mail (including any attachments) is confidential and may be legally privileged. If this e-mail has been sent to you by mistake please inform us by reply e-mail and then delete the e-mail, destroy any printed copy and do not disclose or use the information in it.
--On Thursday, April 17, 2008 9:14 AM +0800 Paul Lee paul@hk.fujitsu.com wrote:
Dear sir,
I am using openldap 2.4.8 and my compile option is :
./configure --enable-modules=yes --enable-ppolicy=yes --enable-overlays=yes --enable-syncprov=yes --with-cyrus-sasl --enable-wrappers
My slapd.conf :
loglevel any logfile /var/lib/ldap/ldap.log
I start the openldap by following command :
/usr/local/libexec/slapd -f /usr/local/etc/openldap/slapd.conf
And then, I add some entries using java and check the log ldap.log, but the size is 0 bytes, nothing logged !!!
Can anyone tell me what's wrong ?
You didn't read the man page closely enough.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
can you elaborate more ?
I still don't know the answer.
Quanah Gibson-Mount wrote:
--On Thursday, April 17, 2008 9:14 AM +0800 Paul Lee paul@hk.fujitsu.com wrote:
Dear sir,
I am using openldap 2.4.8 and my compile option is :
./configure --enable-modules=yes --enable-ppolicy=yes --enable-overlays=yes --enable-syncprov=yes --with-cyrus-sasl --enable-wrappers
My slapd.conf :
loglevel any logfile /var/lib/ldap/ldap.log
I start the openldap by following command :
/usr/local/libexec/slapd -f /usr/local/etc/openldap/slapd.conf
And then, I add some entries using java and check the log ldap.log, but the size is 0 bytes, nothing logged !!!
Can anyone tell me what's wrong ?
You didn't read the man page closely enough.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc
Zimbra :: the leader in open source messaging and collaboration
Confidential Communication - This e-mail (including any attachments) is confidential and may be legally privileged. If this e-mail has been sent to you by mistake please inform us by reply e-mail and then delete the e-mail, destroy any printed copy and do not disclose or use the information in it.
--On Thursday, April 17, 2008 9:39 AM +0800 Paul Lee paul@hk.fujitsu.com wrote:
can you elaborate more ?
I still don't know the answer.
The man page is quite explicit:
logfile <filename> Specify a file for recording debug log messages. By default these messages only go to stderr and are not recorded anywhere else. Specifying a logfile copies messages to both stderr and the logfile.
loglevel <integer> [...] Specify the level at which debugging statements and operation statistics should be syslogged (currently logged to the syslogd(8) LOG_LOCAL4 facility).
I.e., loglevel controls what gets logged to SYSLOG.
logfile controls very special debug messages that usually only go to STDERR.
So there is not necessarily any correlation between loglevel and logfile.
You should be looking at wherever your syslog LOG_LOCAL4 messages go.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
Edit the file /etc/syslog.conf adding the following line:
local4.* -/var/log/ldap.log
Restart syslog after making changes
/etc/init.d/syslog restart
Chaim
On Thu, Apr 17, 2008 at 4:14 AM, Paul Lee paul@hk.fujitsu.com wrote:
Dear sir,
I am using openldap 2.4.8 and my compile option is :
./configure --enable-modules=yes --enable-ppolicy=yes --enable-overlays=yes --enable-syncprov=yes --with-cyrus-sasl --enable-wrappers
My slapd.conf :
loglevel any logfile /var/lib/ldap/ldap.log
I start the openldap by following command :
/usr/local/libexec/slapd -f /usr/local/etc/openldap/slapd.conf
And then, I add some entries using java and check the log ldap.log, but the size is 0 bytes, nothing logged !!!
Can anyone tell me what's wrong ?
Thanks
Confidential Communication - This e-mail (including any attachments) is confidential and may be legally privileged. If this e-mail has been sent to you by mistake please inform us by reply e-mail and then delete the e-mail, destroy any printed copy and do not disclose or use the information in it.
Sorry, that should be on one line:
local4.* -/var/log/ldap.log
On Thu, Apr 17, 2008 at 4:53 AM, Chaim Keren-Tzion chaim@intercomp.co.il wrote:
Edit the file /etc/syslog.conf adding the following line:
local4.* -/var/log/ldap.log
Restart syslog after making changes
/etc/init.d/syslog restart
Chaim
On Thu, Apr 17, 2008 at 4:14 AM, Paul Lee paul@hk.fujitsu.com wrote:
Dear sir,
I am using openldap 2.4.8 and my compile option is :
./configure --enable-modules=yes --enable-ppolicy=yes --enable-overlays=yes --enable-syncprov=yes --with-cyrus-sasl --enable-wrappers
My slapd.conf :
loglevel any logfile /var/lib/ldap/ldap.log
I start the openldap by following command :
/usr/local/libexec/slapd -f /usr/local/etc/openldap/slapd.conf
And then, I add some entries using java and check the log ldap.log, but the size is 0 bytes, nothing logged !!!
Can anyone tell me what's wrong ?
Thanks
Confidential Communication - This e-mail (including any attachments) is confidential and may be legally privileged. If this e-mail has been sent to you by mistake please inform us by reply e-mail and then delete the e-mail, destroy any printed copy and do not disclose or use the information in it.
openldap-technical@openldap.org