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

Processor Logger methods should use configured logging levels for message and throwable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.1.0
    • None
    • Core Framework

    Description

      The SimpleProcessLogger and MockProcessorLog accept messages, parameters, and throwables to match the SLF4J interface, but throwables are only logged if DEBUG is enabled for the particular category, regardless of the level of the log method.

      As indicated on the developer mailing list, this was intended to reduce the verbosity of the logs by only including stack traces for those who were debugging the system. With the general shift toward provenance as an operational utility instead of log files, NiFi should support consistent logging of messages and throwables at the levels configured in the system.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              brianghig Brian Ghigiarelli
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified