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

Support OFF log level in log:set console command

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.8, 4.0.7
    • 4.1.0
    • karaf
    • 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

              gnodet Guillaume Nodet
              dnk Dmitry Konstantinov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: