[GUMP@vmgump]: Project logging-log4j-receivers (in module logging-log4j-receivers) failed

2011-09-17 Thread carnold
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project logging-log4j-receivers has an issue affecting its community

Re: log4j2 parameterized msg with throwable

2011-09-17 Thread Joern Huxhorn
On 17.09.2011, at 05:19, Ralph Goers wrote: On Sep 16, 2011, at 5:09 PM, John Vasileff wrote: On Sep 16, 2011, at 7:41 PM, Joern Huxhorn wrote: On 16.09.2011, at 19:09, John Vasileff wrote: On Sep 15, 2011, at 7:46 PM, Ralph Goers wrote: My gut reaction is that I agree with

Re: log4j2 parameterized msg with throwable

2011-09-17 Thread John Vasileff
On Sep 17, 2011, at 8:53 AM, Joern Huxhorn wrote: Adding getThrowable() would also reintroduce the issue that such a Message could not be serialized securely since deserialization would require the exceptions class on the classpath. In my ParameterizedMessage over at

interfaces for Message classes

2011-09-17 Thread John Vasileff
RFC5424Layout and others use msg instanceof StructuredDataMessage. StructuredData is a class, but if it were an interface, alternate implementations of StructuredData could be supported. One case for this would be if (hypothetically) SLF4J had it's own SLF4JStructuredDataMessage, and passed

Re: log4j2 parameterized msg with throwable

2011-09-17 Thread Joern Huxhorn
On 17.09.2011, at 18:47, John Vasileff wrote: On Sep 17, 2011, at 8:53 AM, Joern Huxhorn wrote: Adding getThrowable() would also reintroduce the issue that such a Message could not be serialized securely since deserialization would require the exceptions class on the classpath. In my

Re: log4j2 parameterized msg with throwable

2011-09-17 Thread John Vasileff
On Sep 17, 2011, at 2:40 PM, Joern Huxhorn wrote: On 17.09.2011, at 18:47, John Vasileff wrote: On Sep 17, 2011, at 8:53 AM, Joern Huxhorn wrote: Adding getThrowable() would also reintroduce the issue that such a Message could not be serialized securely since deserialization would

Re: log4j2 parameterized msg with throwable

2011-09-17 Thread Joern Huxhorn
On 17.09.2011, at 21:02, John Vasileff wrote: On Sep 17, 2011, at 2:40 PM, Joern Huxhorn wrote: On 17.09.2011, at 18:47, John Vasileff wrote: On Sep 17, 2011, at 8:53 AM, Joern Huxhorn wrote: Adding getThrowable() would also reintroduce the issue that such a Message could not

Re: log4j2 parameterized msg with throwable

2011-09-17 Thread Ralph Goers
On Sep 17, 2011, at 11:40 AM, Joern Huxhorn wrote: On 17.09.2011, at 18:47, John Vasileff wrote: On Sep 17, 2011, at 8:53 AM, Joern Huxhorn wrote: Adding getThrowable() would also reintroduce the issue that such a Message could not be serialized securely since deserialization would

Re: log4j2 parameterized msg with throwable

2011-09-17 Thread Ralph Goers
On Sep 17, 2011, at 12:26 PM, Joern Huxhorn wrote: The code simply looks like this: public void log(Level level, String messagePattern, Object... args) { if (!isEnabled(level)) return; ParameterizedMessage message = ParameterizedMessage.create(messagePattern, args);

Re: log4j2 parameterized msg with throwable

2011-09-17 Thread John Vasileff
On Sep 17, 2011, at 3:26 PM, Joern Huxhorn wrote: On 17.09.2011, at 21:02, John Vasileff wrote: On Sep 17, 2011, at 2:40 PM, Joern Huxhorn wrote: On 17.09.2011, at 18:47, John Vasileff wrote: On Sep 17, 2011, at 8:53 AM, Joern Huxhorn wrote: Adding getThrowable() would also

Re: log4j2 parameterized msg with throwable

2011-09-17 Thread Joern Huxhorn
On 17.09.2011, at 21:34, Ralph Goers wrote: On Sep 17, 2011, at 12:26 PM, Joern Huxhorn wrote: The code simply looks like this: public void log(Level level, String messagePattern, Object... args) { if (!isEnabled(level)) return; ParameterizedMessage message =

Re: log4j2 parameterized msg with throwable

2011-09-17 Thread Joern Huxhorn
On 17.09.2011, at 21:26, Ralph Goers wrote: On Sep 17, 2011, at 11:40 AM, Joern Huxhorn wrote: On 17.09.2011, at 18:47, John Vasileff wrote: On Sep 17, 2011, at 8:53 AM, Joern Huxhorn wrote: Interesting point on serialization. When would you see serialization happening? Is

Re: log4j2 parameterized msg with throwable

2011-09-17 Thread Ralph Goers
On Sep 17, 2011, at 1:43 PM, Joern Huxhorn wrote: On 17.09.2011, at 21:26, Ralph Goers wrote: On Sep 17, 2011, at 11:40 AM, Joern Huxhorn wrote: On 17.09.2011, at 18:47, John Vasileff wrote: On Sep 17, 2011, at 8:53 AM, Joern Huxhorn wrote: Interesting point on

[jira] [Resolved] (LOG4J2-49) double message formatting w/SLF4JLogger

2011-09-17 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ralph Goers resolved LOG4J2-49. --- Resolution: Fixed Assignee: Ralph Goers This really should have been opened as two separate