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 "Remko Popma (JIRA)" <ji...@apache.org> on 2016/05/30 08:41:12 UTC

[jira] [Comment Edited] (LOG4J2-1397) Support ByteBufferLayout

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

Remko Popma edited comment on LOG4J2-1397 at 5/30/16 8:40 AM:
--------------------------------------------------------------

I'm thinking simply something like this:

{code}
ByteBuffer binaryData = getBuffer();
logger.debug(binaryData);
{code}

I'm assuming that Kirk's applications often deal with ByteBuffers directly.


was (Author: remkop@yahoo.com):
I'm thinking simply something like this:

{code}
ByteBuffer binaryData = getBuffer();
logger.debug(binaryData);
{code}


> Support ByteBufferLayout
> ------------------------
>
>                 Key: LOG4J2-1397
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1397
>             Project: Log4j 2
>          Issue Type: New Feature
>          Components: Layouts
>    Affects Versions: 2.6
>            Reporter: Remko Popma
>
> As requested by Kirk Pepperdine on the Mechanical Sympathy [mailing list|https://groups.google.com/d/msg/mechanical-sympathy/klefjRqlpQE/-1WF59IGAwAJ]:
> Support a new Layout that takes ObjectMessages containing a ByteBuffer payload and write them to the appender without modification.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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