Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4828

Support OFF log level in log:set console command

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.8, 4.0.7
    • Fix Version/s: 4.1.0
    • Component/s: karaf
    • Labels:
      None

      Description

      It is not possible to switch off logging for a logger using Karaf console command.
      The following levels are supported at this moment: "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "DEFAULT" (https://github.com/apache/karaf/blob/master/log/src/main/java/org/apache/karaf/log/command/SetLogLevel.java)
      It would be nice to add OFF level (it exits in log4j and logj4 2 levels) to the supported list.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gnt Guillaume Nodet
                Reporter:
                dnk Dmitry Konstantinov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: