karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Van Geertruy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-560) Modify all console log commands to receive a "logger" argument.
Date Thu, 14 Apr 2011 15:01:07 GMT

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

Michael Van Geertruy commented on KARAF-560:

Andreas, et alia:

After discussing this with the irc group, log:list really isn't necessary.  The log console
commands work against the PaxLoggingEvents and not the individual log files.  So, lets say
you have 2 log files one each for org.apache.karaf and org.apache.camel.  If you want to search
for an org.apache.felix event, constraining your search to just log files won't really work.
 Instead, we're going to configure log:display to accept a package name to filter on. Basically,
you'd type: 
log:display org.apache.felix

And the console would show all the log messages originating from org.apache.felix.  

> Modify all console log commands to receive a "logger" argument.
> ---------------------------------------------------------------
>                 Key: KARAF-560
>                 URL: https://issues.apache.org/jira/browse/KARAF-560
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.0.0
>         Environment: all
>            Reporter: Michael Van Geertruy
>             Fix For: 3.0.0
> In log:set and log:get you can specify the logger you want to set and retrieve the logging
level.  This should also be allowed as an argument for log:clear, log:display, log:display-exception,
and log:tail.  If we assume users will want to set and get the logging levels of log files
other than Karaf, we can also assume users will want the rest of the functionality in this
ticket also.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message