Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-3435

Reduce logging verbosity of vector

XMLWordPrintable

    • False
    • None
    • False
    • NEW
    • NEW
    • Hide
      Cause: Log collector vector container logs contain many INFO messages
      Consequence: Hard to see error or warning messages
      Fix: Lower log collector verbosity to show only NOTICE and above messages
      Result: Only significant messages in log collector's container logs.
      Show
      Cause: Log collector vector container logs contain many INFO messages Consequence: Hard to see error or warning messages Fix: Lower log collector verbosity to show only NOTICE and above messages Result: Only significant messages in log collector's container logs.
    • Log Collection - Sprint 232, Log Collection - Sprint 233

      Description of problem:

      Vector container logs have large number of INFO messages like this:

      2022-12-15T18:31:49.631882Z  INFO source{component_kind="source" component_id=raw_k8s_audit_logs component_type=file component_name=raw_k8s_audit_logs}:file_server: vector::internal_events::file::source: Found new file to watch. file=/var/log/kube-apiserver/audit.log
      2022-12-15T18:31:49.631924Z  INFO source{component_kind="source" component_id=raw_k8s_audit_logs component_type=file component_name=raw_k8s_audit_logs}:file_server: vector::internal_events::file::source: Stopped watching file. file=/var/log/kube-apiserver/audit.log
      

      This makes it hard to see more important notice, warn or error messages.
      The messages are of no value to an administrator, they don't provide any useful information about the health of vector.

      Reduce the log verbosity of the vector container.

      Version-Release number of selected component (if applicable):

      5.5

      How reproducible:

      100%

      Steps to Reproduce:

      oc logs -n openshift-logging pod -l component=collector-c 
      

      Actual results:

      Many INFO logs

      Expected results:

      Only NOTICE or higher logs.

      Additional info:

            vparfono Vitalii Parfonov
            rhn-engineering-aconway Alan Conway
            Ishwar Kanse Ishwar Kanse
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: