Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-1681

[RFE] Log buffering for all log types

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • 389-ds-base-3.0.6-1.el10
    • None
    • rhel-idm-ds
    • ssg_idm
    • 26
    • 0
    • Dev ack
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Enhancement
    • Hide
      .Directory Server now provides buffering of the error, audit, and audit fail logs

      Before this update, only the access and security logs had log buffering. With this update, Directory Server provides buffering of the error, audit, and audit fail logs. Use the following settings to configure log buffering:

      * `nsslapd-errorlog-logbuffering` for the error log. Disabled by default.
      * `nsslapd-auditlog-logbuffering` for the audit and audit fail log. Enabled by default.

      For details, see link:https://docs.redhat.com/en/documentation/red_hat_directory_server/13/html/configuration_and_schema_reference/core-server-configuration-attributes#nsslapd-errorlog-logbuffering[nsslapd-errorlog-logbuffering] and link:https://docs.redhat.com/en/documentation/red_hat_directory_server/13/html/configuration_and_schema_reference/core-server-configuration-attributes#nsslapd-auditlog-logbuffering[nsslapd-auditlog-logbuffering] in the RHDS Configuration and schema reference documentation.
      Show
      .Directory Server now provides buffering of the error, audit, and audit fail logs Before this update, only the access and security logs had log buffering. With this update, Directory Server provides buffering of the error, audit, and audit fail logs. Use the following settings to configure log buffering: * `nsslapd-errorlog-logbuffering` for the error log. Disabled by default. * `nsslapd-auditlog-logbuffering` for the audit and audit fail log. Enabled by default. For details, see link: https://docs.redhat.com/en/documentation/red_hat_directory_server/13/html/configuration_and_schema_reference/core-server-configuration-attributes#nsslapd-errorlog-logbuffering [nsslapd-errorlog-logbuffering] and link: https://docs.redhat.com/en/documentation/red_hat_directory_server/13/html/configuration_and_schema_reference/core-server-configuration-attributes#nsslapd-auditlog-logbuffering [nsslapd-auditlog-logbuffering] in the RHDS Configuration and schema reference documentation.
    • Done
    • None
    • 57,005

      Description of problem:
      This is a clone from upstream ticket https://github.com/389ds/389-ds-base/issues/5842

      Currently only the access and security logs offer log buffering. Log buffering is needed for active logs so the server is not doing non-stop disk IO and slowing the server down.

      We used to have a script, which has not worked in years, ds-logpipe.py. This script was typically used when enabling verbose error log levels. Instead of fixing this script (even if it's fixed it will break healthcheck while it's in use), if we add log buffering as an option for the error log it should prevent this server performance impact. Same for audit logs.

      This should be tested, and if it works well then we should add log buffering as an option for all the DS logs (keep it off by default though).

              rhn-engineering-mareynol Mark Reynolds
              vashirov@redhat.com Viktor Ashirov
              IdM DS QE
              IdM DS Dev IdM DS Dev
              Barbora Simonova Barbora Simonova
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: