Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

21.2. Displaying Log Files


You can display the Directory Server log files using the command line and web console:

21.2.1. Displaying Log Files Using the Command Line

To display the log files using the command line, use the utilities included in Red Hat Enterprise Linux, such as less, more, and cat. For example:
# less /var/log/dirsrv/slapd-instance_name/access
Copy to Clipboard Toggle word wrap
To display the locations of log files:
# dsconf -D "cn=Directory Manager" ldap://server.example.com config get nsslapd-accesslog nsslapd-errorlog nsslapd-auditlog nsslapd-auditfaillog

nsslapd-accesslog: /var/log/dirsrv/slapd-instance_name/access
nsslapd-errorlog: /var/log/dirsrv/slapd-instance_name/errors
nsslapd-auditlog: /var/log/dirsrv/slapd-instance_name/audit
nsslapd-auditfaillog: /var/log/dirsrv/slapd-instance_name/audit-failure
Copy to Clipboard Toggle word wrap

Note

If logging for a log type is not enabled, the corresponding log file does not exist.

21.2.2. Displaying Log Files Using the Web Console

To display the Directory Server log files:
  1. Open the Directory Server user interface in the web console. See Section 1.4, “Logging Into Directory Server Using the Web Console”.
  2. Select the instance.
  3. Open the Monitoring menu.
  4. Open the Logging menu, and select the log file you want to display.
  5. Optionally, you can apply the following settings to the log file viewer:
    • Set the number of lines to display in the Log Lines To Show field.
    • Enable automatically displaying new log entries by selecting Continuously Refresh.
  6. Click the Refresh button to apply the changes.
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat