[jira] [Updated] (LOG4J2-1874) Add ByteBufferDestionation.write(ByteBuffer) and write(byte[], int, int) methods and call them from TextEncoderHelper whenever possible

2017-06-17 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1874: Affects Version/s: 2.6 > Add ByteBufferDestionation.write(ByteBuffer) and write(byte[], int, int)

[jira] [Updated] (LOG4J2-1874) Add ByteBufferDestionation.write(ByteBuffer) and write(byte[], int, int) methods and call them from TextEncoderHelper whenever possible

2017-06-17 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1874: Fix Version/s: 2.9 > Add ByteBufferDestionation.write(ByteBuffer) and write(byte[], int, int) > me

Re: HttpAppenderTest fails randomly and often

2017-06-17 Thread Matt Sicker
The stack trace mentions the possibility of System.exit being called. We had a bug like that in the past with the Cassandra tests on Windows, and we solved that with some sort of SecurityManager overriding. On 18 June 2017 at 01:01, Mikael Ståldal wrote: > Did the forked JVM crash? Do you find a

Re: HttpAppenderTest fails randomly and often

2017-06-17 Thread Mikael Ståldal
Did the forked JVM crash? Do you find any JVM dump file? If so, maybe you should report this as a JVM bug to Oracle? On 2017-06-05 21:21, Gary Gregory wrote: Hi All, The HttpAppenderTest fails randomly and often (see below). This is a fairly new test. Can whom ever authored it have a look ple

[jira] [Commented] (LOG4J2-1923) JSONLayout should allow stacktrace as string

2017-06-17 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16052864#comment-16052864 ] Mikael Ståldal commented on LOG4J2-1923: It would be nice to test this new featur

[jira] [Commented] (LOG4J2-1923) JSONLayout should allow stacktrace as string

2017-06-17 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16052863#comment-16052863 ] Mikael Ståldal commented on LOG4J2-1923: To avoid breaking binary compatibility,

Re: Log4j2 APIs on Android

2017-06-17 Thread Remko Popma
I did some work to get closer to making Log4j2 API work on Android. What remains is the dependency on the java.lang.management package in ThreadDumpMessage and ExtendedThreadInformation. (Shameless plug) Every java main() method deserves http://picocli.info > On Jun 17, 2017, at 16:50, Mikael S

Re: Log4j2 APIs on Android

2017-06-17 Thread Mikael Ståldal
I think Oleg have a point in that log4j-api is a bit too heavy currently. I was maybe a mistake to put concrete implementations of Message and StringMap there. The problem is not primarily the size, but that the implementation classes drag in unwanted dependencies (like this RMI dependency).

[jira] [Commented] (LOG4J2-1926) Remove dependency on RMI and Management APIs from log4j-api

2017-06-17 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16052752#comment-16052752 ] Mikael Ståldal commented on LOG4J2-1926: If we cannot come up with an reasonably

Re: HttpAppenderTest fails randomly and often

2017-06-17 Thread Mikael Ståldal
I can have a look when I get access to a Windows machine, but that won't happen before July 3rd. On 2017-06-16 22:49, Gary Gregory wrote: Would you mind putting that on your todo list? Thank you? Gary On Jun 16, 2017 11:19 AM, "Mikael Ståldal" wrote: No, not right now. On 2017-06-16 21:

[jira] [Commented] (LOG4J2-1926) Remove dependency on RMI and Management APIs from log4j-api

2017-06-17 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16052749#comment-16052749 ] Mikael Ståldal commented on LOG4J2-1926: OK, I see now why we wrap the values. B