You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2007/08/22 00:05:24 UTC
DO NOT REPLY [Bug 42772] - add a "getOutputStream()" Method to Appender
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42772>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42772
carnold@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
------- Additional Comments From carnold@apache.org 2007-08-21 15:05 -------
It would be difficult to do for general use. You would not want to directly pipe content to an Appender
since it would bypass the synchronization code that is in the event dispatching. A better approach would
be to pipe an PrintStream and have it creating logging events that are then sent to a logger, but you would
need to be able to customize the target logger, the level for the event, when to create an event (once per
line, once at stream closing, on particular keywords). Nothing prevents you from writing that code (like
the Glassfish project did), but until the code is generally useful it shouldn't go in log4j itself.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org