Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16131 - OpenLDAP needs DEBUG=1 for logging (with syslog-ng)
Summary: OpenLDAP needs DEBUG=1 for logging (with syslog-ng)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-21 05:58 UTC by Marius Mauch (RETIRED)
Modified: 2003-05-11 15:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Mauch (RETIRED) gentoo-dev 2003-02-21 05:58:33 UTC
I noticed that Openldap didn't log anything on my server, although the loglevel
in slapd.conf was set to 256 (and -1 for testing). 
After re-emerging it with "DEBUG=1 emerge openldap" it works by logging in
several logfiles.

I won't think thats the way it should be. 

PS: Thats my first report on Bugzilla. If there is a simple solution by
correcting the ebuild tell me and I try to fix it.

Reproducible: Always
Steps to Reproduce:
emerge openldap without DEBUG=1
Actual Results:  
no logging messages from openldap appear (in none of the logfiles)

Expected Results:  
logging messages should appear at least in /var/log/messages. 

Versions:
openldap 2.0.27 (with and without logging)
syslog-ng 1.4.16-r1


Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 Pentium II (Klamath)
GENTOO_MIRRORS="http://gentoo.linux.no/
http://www.fhh.opensource-mirror.de/gentoo.org/
ftp://ftp.fhh.opensource-mirror.de/pub/gentoo.org/
http://distro.ibiblio.org/gentoo "
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages/igor"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/portage/local/"
USE="x86 oss apm crypt encode gif jpeg libg++ libwww mmx mpeg ncurses oggvorbis
pdflib png zlib gdbm berkdb slang readline tcpd pam ssl python -3dnow aalib
-arts -avi -cups gd -gnome -gpm -gtk imap -imlib innodb ipv6 -java -kde ldap
mbox -mikmod -motif mysql nas -nls oav odbc -opengl perl pic plotutils -qt -qtmt
-quicktime samba sasl scanner -sdl -spell -svga -truetype -X -xml2 -xmms -xv"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O3 -pipe"
CXXFLAGS="-march=pentium2 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="ccache sandbox buildpkg"
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-05-11 15:19:15 UTC
fixed now for 2.0.27-r3. debug is enabled by default. i think everyone should have syslog logging.