Uploaded image for project: 'Observability and Data Analysis Program'
  1. Observability and Data Analysis Program
  2. OBSDA-1109

log forwarder - log level should not based on the word "ERROR" within a message but an explicit loglevel field

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • 0

      Proposed title of this feature request

      log forwarder - log level should not based on the word "ERROR" within a message but an explicit loglevel field

      What is the nature and description of the request?

      [current behavior]

      If the message contains the word "error", the log level will be "error" even if the log level is configured as "INFO".
      } else if match!(.message, r'Error|ERROR|^E[0-9]+|level=error|Value:error|"level":"error"|<error>') {
      .level = "error"
      

      [customer expected behavior]

      The log level of a message should not be changed to ERROR if the message itself contains the word error.
      The logging level is already set by the app itself.

      Why does the customer need this? (List the business requirements)

      The customer had to implement a workaround

      List any affected packages or components.

      PM Logging

              jamparke@redhat.com Jamie Parker
              rhn-support-aaltawdy Abdelrhman Altawdy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: