karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-1197) AdminService - Allow to provide a PrintStream so you can capture or control activity on the console
Date Thu, 16 Feb 2012 22:08:59 GMT

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

Guillaume Nodet commented on KARAF-1197:
----------------------------------------

What about:
  * reduce verbosity by not displaying the "Creating dir" / "Creating file" messages on the
console
  * suppress the output completely when using JMX as printing to the console does not make
any sense in those cases
I think that would help a lot already.
                
> AdminService - Allow to provide a PrintStream so you can capture or control activity
on the console
> ---------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-1197
>                 URL: https://issues.apache.org/jira/browse/KARAF-1197
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-admin
>    Affects Versions: 2.2.5
>            Reporter: Claus Ibsen
>            Priority: Minor
>
> The AdminService can create instances of Karaf. It would be great if you could provide
a PrintStream so you can divert and control console activity.
> eg in this source code
> https://svn.apache.org/repos/asf/karaf/branches/karaf-2.2.x/admin/core/src/main/java/org/apache/karaf/admin/internal/AdminServiceImpl.java
> The method println, is hardcoded to do System.out.
> What we need is to be able to provide a PrintStream on these methods
> https://svn.apache.org/repos/asf/karaf/branches/karaf-2.2.x/admin/core/src/main/java/org/apache/karaf/admin/AdminService.java

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message