[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-dev
Subject:    [jira] [Commented] (LOG4J2-481) Stream-Interface for Loggers
From:       "Remko Popma (JIRA)" <jira () apache ! org>
Date:       2013-12-31 23:46:50
Message-ID: JIRA.12686639.1388258223532.28158.1388533610733 () arcas
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/LOG4J2-481?page=com.atlassian.jira.plugin. \
system.issuetabpanels:comment-tabpanel&focusedCommentId=13859782#comment-13859782 ] 

Remko Popma commented on LOG4J2-481:
------------------------------------

Hi Joe,
Would you like to contribute a patch?
That would give the best chance of getting this feature in. 
Best regards,
Remko

> Stream-Interface for Loggers
> ----------------------------
> 
> Key: LOG4J2-481
> URL: https://issues.apache.org/jira/browse/LOG4J2-481
> Project: Log4j 2
> Issue Type: New Feature
> Components: API
> Affects Versions: 2.0-beta9
> Environment: Linux, Java 1.7
> Reporter: Joe Merten
> 
> I would like to have method (or class) to use a logger as a PrintStream, like e.g.:
> {quote}
> PrintStream Logger.getStream(Level level);
> {quote}
> 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).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic