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

Andreas Pieber commented on KARAF-1197:
---------------------------------------

I'm honestly interested into the reason why we want to hide the output. Are 
users confused by it? Are there any other reasons/problems I miss right now?

Maybe a different solution is to remove the println by default and only show it 
when a -v param is given to the command?
                
> 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

        

Reply via email to