TABLE 8-2 slapd.log ExampleYou can configure the information logged by a directory server, as described in "Configuring Logging" on page 213. By default, the directory server daemon logs information about connections and operations in
/var/opt/SUNWconn/ldap/log/slapd.log. The replication daemon and the LDAP/HTTP gateway daemon also maintain log files. These files, slurpd.log and web500gw.log, are stored in the same directory as the slapd log file.In the event that you need more diagnostic ability than is provided by SIMS default Directory configuration, you may run slapd from a shell manually, providing additional diagnostics. See the -d and -s arguments to slapd, documented in slapd(8) man page. Note that running with additional diagnostics turned on will run slapd in the foreground, and will use up disk space quickly if you have all optional diagnostic output enabled.
If you are running SNMP monitoring for the directory service, there is also an snmpslapd.log file.
In addition, certain messages may be logged to the console of the machine on which slapd is running, and/or to /var/adm/messages.
TABLE 8-2 contains an example of the information that is logged during a search operation. This example shows two interactions with the directory, the first to add an entry, and the second to search the directory for all entries that have a commonName attribute. The log includes details of the bind and unbind, and operational information.