[
https://issues.apache.org/jira/browse/LOG4J2-836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14138997#comment-14138997
]
Ralph Goers commented on LOG4J2-836:
------------------------------------
One of the reasons Log4j 2 uses OutputStreams instead of Writers is to allow
for binary streams on any Appender. But every stream needs some kind of output
format. These are handled through Layouts. Log4j 2 already supports some
formats that, while not strictly binary, are similar to it such as the
SerializedLayout or the recently added GelfLayout which supports gzipped
compressed JSON.
If you have a specific binary protocol you would like to have supported you
should create a Jira issue for that and possibly provide the code for it.
> Binary Logging Appender
> -----------------------
>
> Key: LOG4J2-836
> URL: https://issues.apache.org/jira/browse/LOG4J2-836
> Project: Log4j 2
> Issue Type: Wish
> Components: Appenders
> Affects Versions: 2.2
> Reporter: Abhishek Sharma
> Fix For: 2.2
>
>
> Many of the projects requires to have logging in the binary format for
> certain scenarios. There should be a functionality for writing logs in
> binary format and if users need to consult binary log file then some read
> utility for it.
>
> There are some implementation for it like:
> (https://code.google.com/p/mfz-binlog/). and it will be great if we can have
> it log4j.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]