From owner-freebsd-ports@FreeBSD.ORG Sat Jul 22 20:45:19 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B905416A4E0; Sat, 22 Jul 2006 20:45:19 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.187.76.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB6F943D5C; Sat, 22 Jul 2006 20:45:05 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [IPv6:::1] (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.13.6/8.13.6) with ESMTP id k6MKidDL068604; Sat, 22 Jul 2006 21:44:39 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk from=m.seaman@infracaninophile.co.uk; sender-id=softfail; spf=softfail X-SenderID: Sendmail Sender-ID Filter v0.2.13 smtp.infracaninophile.co.uk k6MKidDL068604 Message-ID: <44C28E30.6070805@infracaninophile.co.uk> Date: Sat, 22 Jul 2006 21:44:32 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 1.5.0.4 (X11/20060610) MIME-Version: 1.0 To: Thierry Lacoste References: <002001c6adc6$d26dd120$0201a8c0@aldebaran> In-Reply-To: <002001c6adc6$d26dd120$0201a8c0@aldebaran> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig750A7B98F1D657442D62F3B0" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (smtp.infracaninophile.co.uk [IPv6:::1]); Sat, 22 Jul 2006 21:44:59 +0100 (BST) X-Virus-Scanned: ClamAV 0.88.3/1614/Fri Jul 21 21:27:38 2006 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on happy-idiot-talk.infracaninophile.co.uk Cc: ports@freebsd.org, delphij@freebsd.org Subject: Re: FreeBSD Port: openldap-server-2.3.24: default loglevel and /var/log/debug.log X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jul 2006 20:45:19 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig750A7B98F1D657442D62F3B0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Thierry Lacoste wrote: > It seems that the default loglevel is set to 256; correct? > Is this the default for openldap? > I've been grepping through the sources but was unable > to verify my hypothesis. How can I know the actual default loglevel? http://www.openldap.org/doc/admin23/slapdconfig.html#Configuration%20File= %20Directives Section 6.2.1.5: "Default: loglevel 256" So, Correct, yes. However that loglevel records the activity of the server in about the same level of detail as you'ld hope to see from any other network server. > Because slapd is logging through local4 and /etc/syslog.conf contains > *.=3Ddebug /var/log/debug.log > the file is growing rapidly. >=20 > Are these defaults recommended for a production server? > If not, what are the recommendations concerning slapd loglevel > and/or syslog.conf configuration? Having slapd write logs is certainly a good thing. However it seems that your only choice of how to log what slapd does is via syslog using the LOG_LOCAL4 facility. If the slapd logging is too voluminous and=20 clogging up files that should show other logs, you can tell syslog not to include it. Eg for your debug.log: !-slapd *.=3Ddebug /var/log/debug.log Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig750A7B98F1D657442D62F3B0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEwo428Mjk52CukIwRAxDTAKCBLtw8hBVhfzs9HUmiw0sxtBcuJgCZAUHX PU95V97VIWLyLOXn7Xo+v7c= =sinC -----END PGP SIGNATURE----- --------------enig750A7B98F1D657442D62F3B0--