Re: reading the log file

Owen Marshall <[email protected]> Thu, 01 Apr 2010 11:55:09 -0400
Newsgroups gmane.network.openldap.general
Organization FacilityONE
Message-ID <1270137309.20572.20.camel@c2ltomarshall>
On Thu, 2010-04-01 at 09:51 -0400, Itay Moav wrote:
> I see under /var/lib/ldap the file log.000000001 which seems to be a
> binary file.
> How do I read it, or is there a different way to see a log of what the
> server does (something like the mysql.log)

Those log files are transaction logs used by the database backend. You
don't want to read those.

Instead, look at the olcLogFile directive to see where logs are
pointing.

Note also that if you built with syslog support, the syslog daemon will
also be handling your slapd logs. IIRC, it logs to local4.

-- 
Owen Marshall
FacilityONE
[email protected] | (502) 805-2126
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAku0wdoACgkQcoY1cxL6GH2v9ACgxCn71hU7GjTT9DPte17IrbeV
ERwAoJqZ2T71JKkiGfDbtEgWgHmFchas
=bfv6
-----END PGP SIGNATURE-----