[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-06-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15338354#comment-15338354 ] Remko Popma commented on LOG4J2-1397: - For this to be garbage-free, LOG4J2-1438 is re

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-06-11 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15326130#comment-15326130 ] Remko Popma commented on LOG4J2-1397: - I created LOG4J2-1424 for a more general garba

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-06-09 Thread Remko Popma (JIRA)
[ 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 li

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-06-09 Thread Anthony Maire (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15322196#comment-15322196 ] Anthony Maire commented on LOG4J2-1397: --- I agree that this is a narrow use case An

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-06-09 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15322176#comment-15322176 ] Mikael Ståldal commented on LOG4J2-1397: I think we should either do this properl

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-06-09 Thread Anthony Maire (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15322161#comment-15322161 ] Anthony Maire commented on LOG4J2-1397: --- It just doesn't work because of different

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-06-09 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15322149#comment-15322149 ] Remko Popma commented on LOG4J2-1397: - It is probably possible to do this in Log4j, b

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-06-09 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15322124#comment-15322124 ] Mikael Ståldal commented on LOG4J2-1397: Wouldn't it be nicer if this copying was

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-06-09 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15322120#comment-15322120 ] Remko Popma commented on LOG4J2-1397: - In that case you need to use an AtomicLong ins

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-06-08 Thread Anthony Maire (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15322038#comment-15322038 ] Anthony Maire commented on LOG4J2-1397: --- At first sight, this approach may work cor

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-06-08 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15321679#comment-15321679 ] Remko Popma commented on LOG4J2-1397: - The byte buffer should not be used by two thre

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-06-08 Thread Anthony Maire (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15321285#comment-15321285 ] Anthony Maire commented on LOG4J2-1397: --- Basically, a layout that have a dependency

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-06-08 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15320744#comment-15320744 ] Mikael Ståldal commented on LOG4J2-1397: So the async logger should copy the appl

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-06-08 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15320181#comment-15320181 ] Mikael Ståldal commented on LOG4J2-1397: Thanks, it's helpful to get this kind of

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-06-08 Thread Anthony Maire (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15320175#comment-15320175 ] Anthony Maire commented on LOG4J2-1397: --- Here is my usecase: - The application is r

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-06-07 Thread Anthony Maire (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15320112#comment-15320112 ] Anthony Maire commented on LOG4J2-1397: --- The issue with TL is that we need to pass

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-06-07 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15318616#comment-15318616 ] Mikael Ståldal commented on LOG4J2-1397: A ThreadLocal {{ByteBuffer}} maybe? > S

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-06-07 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15318607#comment-15318607 ] Mikael Ståldal commented on LOG4J2-1397: I would like to see a more elaborate exa

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-06-07 Thread Anthony Maire (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15318503#comment-15318503 ] Anthony Maire commented on LOG4J2-1397: --- Correct me if I am wrong, but handling Byt

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-05-31 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15307652#comment-15307652 ] Remko Popma commented on LOG4J2-1397: - Linking to LOG4J2-1305 which allows binary log

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-05-30 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15306400#comment-15306400 ] Remko Popma commented on LOG4J2-1397: - I'm thinking simply something like this: {cod

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-05-30 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15306342#comment-15306342 ] Mikael Ståldal commented on LOG4J2-1397: How would one log to this layout from ap

[jira] [Commented] (LOG4J2-1397) Support ByteBufferLayout

2016-05-29 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15305883#comment-15305883 ] Remko Popma commented on LOG4J2-1397: - Example no-frills implementation: https://gis