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

log command to list all the logging levels currently been set

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.1
    • 2.3.3, 2.4.0, 3.0.0
    • karaf
    • None

    Description

      You can use log:set to set a logging level for a logger name.

      eg

      log:set DEBUG org.apache.camel
      

      But you cannot see what has been configured, eg
      log:get

      Will only show for the root logger, which typically is INFO.

      What we need is

      log:list
      

      To show all the custom logging levels been set.
      Something alike:

      log:list
      Level            Name
      INFO             ROOT
      DEBUG            org.apache.camel
      

      Also the MBean for the log should expose a JMX operation to get this data.
      org.apache.karaf.management.mbeans.log.internal.LogMBeanImpl

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: