Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-634

Review Logback default log levels

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Abandoned
    • None
    • None
    • Configuration

    Description

      Evaluate the default log levels of the logback.xml configuration. Consider reducing the verbosity of general framework logging events, primarily originating from the org.apache.nifi.* logger.

      Rationale: the existing log level defaults have historically benefitted NIFI data flow managers needing to inspect and trace the lifecycle of an individual flowfile. However, given the capabilities of the provenance repository engine, the preferred mechanism for tracing a flowfile would now be performed through provenance inquiries.

      Thus, the necessity for logging standard processor and framework subsystem events at the INFO level is reduced. The logging configuration could default to allow only WARN or greater output from common framework components in order to isolate and identify flow management issues.

      Recommendation: change the default log levels of the org.apache.nifi.* loggers from INFO to WARN, with exception for component functionality which does not readily have a reciprocal provenance equivalent.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              taftster Adam Taft
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: