Show Table of Contents
15.2. Viewing Log Files
The access and error logs are enabled by default and can be viewed immediately. Before the audit log can be viewed, audit logging must be enabled for the directory, or the audit log will not be kept.
Note
When the server is not running, the log files cannot be viewed in the Directory Server Console, but they can be viewed in Admin Express. Open the Admin Server URL in a browser:
http://hostname:admin_server_port
Then log in with the admin login ID and password, and click the link for Administration Express.
- In the Directory Server Console, select the Status tab.
- In the navigation tree, expand the Logs folder. There are three folders available, for the access, error, and audit logs.

- When you select the log type to view, a table displays a list of the last 25 entries in the selected log.
- Optionally, change the settings of the log display and click to update the display.

- The Select Log pull-down menu allows you to select an archived (rotated) log rather than the currently active log.
- The Lines to show text box changes the number of log entries to display in the window.
- The Show only lines containing text box sets a filter, including regular expressions, to use to display only certain matching log entries.
Note
Selecting the Continuous check box refreshes the log display automatically every ten seconds.= Continuous log refresh does not work well with log files over 10 megabytes.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.