Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-481

Stream-Interface for Loggers

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0-beta9
    • 2.0-rc1
    • API
    • None
    • Linux, Java 1.7

    Description

      I would like to have method (or class) to use a logger as a PrintStream, like e.g.:

      PrintStream Logger.getStream(Level level);

      or maybe like this http://www.java2s.com/Open-Source/Java/Testing/jacareto/jacareto/toolkit/log4j/LogOutputStream.java.htm

      (as I recently discovered, org.apache.commons.exec.LogOutputStream is doing different things).

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            FreeJoe Joe Merten
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment