karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-2300) log command to list all the logging levels currently been set
Date Fri, 10 May 2013 14:07:17 GMT

    [ https://issues.apache.org/jira/browse/KARAF-2300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13654480#comment-13654480
] 

Claus Ibsen commented on KARAF-2300:
------------------------------------

Yeah the ALL is what I need. Though it should be mentioned in the help for the log:get so
people is aware of this. AFAIR it only mentions about ROOT.

Also the JMX MBean operation is still needed so tooling and others can get this information
as well.
                
> log command to list all the logging levels currently been set
> -------------------------------------------------------------
>
>                 Key: KARAF-2300
>                 URL: https://issues.apache.org/jira/browse/KARAF-2300
>             Project: Karaf
>          Issue Type: New Feature
>          Components: karaf-core
>    Affects Versions: 2.3.1
>            Reporter: Claus Ibsen
>            Priority: Minor
>
> You can use log:set to set a logging level for a logger name.
> eg
> {code}
> log:set DEBUG org.apache.camel
> {code}
> 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
> {code}
> log:list
> {code}
> To show all the custom logging levels been set.
> Something alike:
> {code}
> log:list
> Level            Name
> INFO             ROOT
> DEBUG            org.apache.camel
> {code}
> Also the MBean for the log should expose a JMX operation to get this data.
> org.apache.karaf.management.mbeans.log.internal.LogMBeanImpl

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message