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-359) Add log:stash command
Date Fri, 15 Apr 2011 01:33:05 GMT

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

Michael Van Geertruy commented on KARAF-359:
--------------------------------------------

This is just a work-around, but you may try connecting to your Karaf instance with a client,
and then (using the 3.0.0 version of log:display) type log:display <package-name> right
before you do your thing on your karaf console.  This will allow you to view only those items
affecting the package you are testing.

> Add log:stash command
> ---------------------
>
>                 Key: KARAF-359
>                 URL: https://issues.apache.org/jira/browse/KARAF-359
>             Project: Karaf
>          Issue Type: New Feature
>          Components: console
>            Reporter: Andreas Pieber
>            Priority: Trivial
>
> When I trace down a problem I make extensive use of log:display. Basically it works really
great, but sometimes I would wish to see only the log between my latest action and the next
log:display
> Something like
> {code}
> log:stash
> // DO ACTION HERE
> log:display (shows all the log happend between the last log:stash and the time I do log:display)
> log:stash clear (remove the marker set by log:stash)
> {code}
> IMHO we could use the syntax of git stash here mostly. Named stashes could be an extension
to this feature but I don't think it's required.

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

Mime
View raw message