[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15323632#comment-15323632 ]
Remko Popma commented on LOG4J2-1397: ------------------------------------- I have been thinking about doing something like this in the context of other feature requests. I still haven't figured out how I can make this work though. Assume that RingBufferLogEvent has an extra attribute that we want the user to be able to populate. How do we expose this attribute? Because at the moment the user calls the logger method, the ringbuffer slot has not been selected yet. I need to think about this more, because it looks like this would require a new API with something like a claim() method that would return the RingBufferLogEvent that the user can then modify and publish. > 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-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org