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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.2.5
    • 3.0.0
    • karaf
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: