Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1197

AdminService - Allow to provide a PrintStream so you can capture or control activity on the console

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.5
    • Fix Version/s: 3.0.0
    • Component/s: karaf
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: