[jira] [Closed] (LOG4J2-1676) Some LogEvents may not carry a Throwable (Use Message.getThrowable() in log(Message) methods)

2016-11-17 Thread Joern Huxhorn (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joern Huxhorn closed LOG4J2-1676. - Verified. Thanks. > Some LogEvents may not carry a Throwable (Use Message.getThrowable() in > log(M

Jenkins build became unstable: Log4j 2.x #2493

2016-11-17 Thread Apache Jenkins Server
See - To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org

[jira] [Resolved] (LOG4J2-1676) Some LogEvents may not carry a Throwable (Use Message.getThrowable() in log(Message) methods)

2016-11-17 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory resolved LOG4J2-1676. -- Resolution: Fixed > Some LogEvents may not carry a Throwable (Use Message.getThrowable() in >

[jira] [Reopened] (LOG4J2-1676) Some LogEvents may not carry a Throwable (Use Message.getThrowable() in log(Message) methods)

2016-11-17 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory reopened LOG4J2-1676: -- > Some LogEvents may not carry a Throwable (Use Message.getThrowable() in > log(Message) methods)

[jira] [Resolved] (LOG4J2-1676) Some LogEvents may not carry a Throwable (Use Message.getThrowable() in log(Message) methods)

2016-11-17 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory resolved LOG4J2-1676. -- Resolution: Fixed Assignee: Gary Gregory Fix Version/s: 2.8 In Git master. Plea

[jira] [Closed] (LOG4J2-1676) Some LogEvents may not carry a Throwable (Use Message.getThrowable() in log(Message) methods)

2016-11-17 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory closed LOG4J2-1676. In Git master. Please verify and close. > Some LogEvents may not carry a Throwable (Use Message.getThr

[jira] [Updated] (LOG4J2-1676) Some LogEvents may not carry a Throwable (Use Message.getThrowable() in log(Message) methods)

2016-11-17 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated LOG4J2-1676: - Summary: Some LogEvents may not carry a Throwable (Use Message.getThrowable() in log(Message) met

[jira] [Commented] (LOG4J2-1642) DefaultShutdownCallbackRegistry throws NoClassDefFoundError

2016-11-17 Thread Rajind Ruparathna (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15675407#comment-15675407 ] Rajind Ruparathna commented on LOG4J2-1642: --- Hi, this seems to be reproducing i

Re: [deprecation] getContextMap() in LogEvent has been deprecated

2016-11-17 Thread Gary Gregory
Whatever it takes ;-) Gary [AFK] On Nov 17, 2016 4:56 PM, "Matt Sicker" wrote: > So do these just need to be refactored to use the new ContextDataInjector > class, or is it something else? > > On 17 November 2016 at 17:52, Gary Gregory wrote: > >> On Thu, Nov 17, 2016 at 3:41 PM, Remko Popma

Re: [deprecation] getContextMap() in LogEvent has been deprecated

2016-11-17 Thread Matt Sicker
So do these just need to be refactored to use the new ContextDataInjector class, or is it something else? On 17 November 2016 at 17:52, Gary Gregory wrote: > On Thu, Nov 17, 2016 at 3:41 PM, Remko Popma > wrote: > >> (Away from PC) I think the only place where the Map interface is still >> used

[jira] [Commented] (LOG4J2-1676) Use Message.getThrowable() in log(Message) methods

2016-11-17 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15675266#comment-15675266 ] Gary Gregory commented on LOG4J2-1676: -- Applied patch {{0001-Refactored-AbstractLogg

[jira] [Commented] (LOG4J2-1713) Allow for more general serialization of Log4j2 configurations

2016-11-17 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15675251#comment-15675251 ] Gary Gregory commented on LOG4J2-1713: -- +1, pretty please? :-) > Allow for more gen

[jira] [Commented] (LOG4J2-1713) Allow for more general serialization of Log4j2 configurations

2016-11-17 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15675201#comment-15675201 ] Remko Popma commented on LOG4J2-1713: - Steve, would you consider submitting a patch f

Re: [deprecation] getContextMap() in LogEvent has been deprecated

2016-11-17 Thread Gary Gregory
On Thu, Nov 17, 2016 at 3:41 PM, Remko Popma wrote: > (Away from PC) I think the only place where the Map interface is still > used is in FlumeAppender and there it made sense to leave it a jdk map if I > remember correctly. > > Where are you seeing compiler warnings? > The method getContextMap(

Re: [deprecation] getContextMap() in LogEvent has been deprecated

2016-11-17 Thread Remko Popma
(Away from PC) I think the only place where the Map interface is still used is in FlumeAppender and there it made sense to leave it a jdk map if I remember correctly. Where are you seeing compiler warnings? Are you talking about the tests? Sent from my iPhone > On 18 Nov 2016, at 5:01, Gary G

[jira] [Commented] (LOG4J2-1713) Allow for more general serialization of Log4j2 configurations

2016-11-17 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15675067#comment-15675067 ] Gary Gregory commented on LOG4J2-1713: -- Would you mind attaching this file to this t

[jira] [Comment Edited] (LOG4J2-1713) Allow for more general serialization of Log4j2 configurations

2016-11-17 Thread Steve Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15675006#comment-15675006 ] Steve Cohen edited comment on LOG4J2-1713 at 11/17/16 10:49 PM: ---

[jira] [Comment Edited] (LOG4J2-1713) Allow for more general serialization of Log4j2 configurations

2016-11-17 Thread Steve Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15675006#comment-15675006 ] Steve Cohen edited comment on LOG4J2-1713 at 11/17/16 10:49 PM: ---

[jira] [Commented] (LOG4J2-1713) Allow for more general serialization of Log4j2 configurations

2016-11-17 Thread Steve Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15675006#comment-15675006 ] Steve Cohen commented on LOG4J2-1713: - @PreDestroy (and @PostConstruct) work very wel

[jira] [Issue Comment Deleted] (LOG4J2-1713) Allow for more general serialization of Log4j2 configurations

2016-11-17 Thread Steve Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Cohen updated LOG4J2-1713: Comment: was deleted (was: And it works very well! You guys might want to document it. There are

[jira] [Comment Edited] (LOG4J2-1713) Allow for more general serialization of Log4j2 configurations

2016-11-17 Thread Steve Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15674990#comment-15674990 ] Steve Cohen edited comment on LOG4J2-1713 at 11/17/16 10:27 PM: ---

[jira] [Commented] (LOG4J2-1713) Allow for more general serialization of Log4j2 configurations

2016-11-17 Thread Steve Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15674990#comment-15674990 ] Steve Cohen commented on LOG4J2-1713: - And it works very well! You guys might want t

Jenkins build is back to normal : Log4j 2.x #2491

2016-11-17 Thread Apache Jenkins Server
See - To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org

[jira] [Issue Comment Deleted] (LOG4J2-1713) Allow for more general serialization of Log4j2 configurations

2016-11-17 Thread Steve Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Cohen updated LOG4J2-1713: Comment: was deleted (was: Hmm. I didn't know about {code}@PreDestroy{code}. It sounds like what

[jira] [Commented] (LOG4J2-1713) Allow for more general serialization of Log4j2 configurations

2016-11-17 Thread Steve Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15674781#comment-15674781 ] Steve Cohen commented on LOG4J2-1713: - Hmm. I didn't know about {code}@PreDestroy{co

[jira] [Commented] (LOG4J2-1713) Allow for more general serialization of Log4j2 configurations

2016-11-17 Thread Steve Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15674783#comment-15674783 ] Steve Cohen commented on LOG4J2-1713: - Hmm. I didn't know about {code}@PreDestroy{co

[jira] [Commented] (LOG4J2-1713) Allow for more general serialization of Log4j2 configurations

2016-11-17 Thread Matt Sicker (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15674764#comment-15674764 ] Matt Sicker commented on LOG4J2-1713: - Can you make a {{@PreDestroy}} method to do it

[jira] [Commented] (LOG4J2-1713) Allow for more general serialization of Log4j2 configurations

2016-11-17 Thread Matt Sicker (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15674739#comment-15674739 ] Matt Sicker commented on LOG4J2-1713: - Did you see the Configurator.shutdown and LogM

[jira] [Commented] (LOG4J2-1713) Allow for more general serialization of Log4j2 configurations

2016-11-17 Thread Steve Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15674754#comment-15674754 ] Steve Cohen commented on LOG4J2-1713: - Yes, I did. However, the code block above is

[jira] [Comment Edited] (LOG4J2-1713) Allow for more general serialization of Log4j2 configurations

2016-11-17 Thread Steve Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15674729#comment-15674729 ] Steve Cohen edited comment on LOG4J2-1713 at 11/17/16 8:34 PM:

[jira] [Commented] (LOG4J2-1713) Allow for more general serialization of Log4j2 configurations

2016-11-17 Thread Steve Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15674729#comment-15674729 ] Steve Cohen commented on LOG4J2-1713: - ??Would that help??? Hmm. Maybe it would. I

[jira] [Closed] (LOG4J2-1712) Pick up bug fixes from Apache Commons Lang's org.apache.commons.lang3.time package

2016-11-17 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory closed LOG4J2-1712. Resolution: Fixed Fix Version/s: 2.8 In Git master. > Pick up bug fixes from Apache Commons

[jira] [Updated] (LOG4J2-1712) Pick up bug fixes from Apache Commons Lang's org.apache.commons.lang3.time package

2016-11-17 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated LOG4J2-1712: - Description: Pick up bug fixes from Apache Commons Lang's {{org.apache.commons.lang3.time}} pack

[jira] [Updated] (LOG4J2-1712) Pick up bug fixes from Apache Commons Lang's org.apache.commons.lang3.time package

2016-11-17 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated LOG4J2-1712: - Description: Pick up bug fixes from Apache Commons Lang's {{org.apache.commons.lang3.time}} pack

[jira] [Commented] (LOG4J2-1713) Allow for more general serialization of Log4j2 configurations

2016-11-17 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15674695#comment-15674695 ] Gary Gregory commented on LOG4J2-1713: -- Wait a sec: {quote} Since Log4j allows onl

Re: [deprecation] getContextMap() in LogEvent has been deprecated

2016-11-17 Thread Gary Gregory
Ping? Could whomever deprecated this API fix all the call sites SVP? We do get an awful lot of compiler warnings... Gary On Sat, Nov 12, 2016 at 1:45 AM, Gary Gregory wrote: > Is there search and replace to fix all of these? > > Gary > > -- > E-Mail: garydgreg...@gmail.com | ggreg...@apache.or

[jira] [Created] (LOG4J2-1713) Allow for more general serialization of Log4j2 configurations

2016-11-17 Thread Steve Cohen (JIRA)
Steve Cohen created LOG4J2-1713: --- Summary: Allow for more general serialization of Log4j2 configurations Key: LOG4J2-1713 URL: https://issues.apache.org/jira/browse/LOG4J2-1713 Project: Log4j 2

Build failed in Jenkins: Log4j 2.x #2490

2016-11-17 Thread Apache Jenkins Server
See Changes: [ggregory] [LOG4J2-1712] Pick up bug fixes from Apache Commons Lang's [ggregory] When writing about the hash code, use 'hash code', the compound [ggregory] Document empty block. -- [..

[jira] [Updated] (LOG4J2-1712) Pick up bug fixes from Apache Commons Lang's org.apache.commons.lang3.time package

2016-11-17 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated LOG4J2-1712: - Description: Pick up bug fixes from Apache Commons Lang's {{org.apache.commons.lang3.time}} pack

[jira] [Created] (LOG4J2-1712) Pick up bug fixes from Apache Commons Lang's org.apache.commons.lang3.time package

2016-11-17 Thread Gary Gregory (JIRA)
Gary Gregory created LOG4J2-1712: Summary: Pick up bug fixes from Apache Commons Lang's org.apache.commons.lang3.time package Key: LOG4J2-1712 URL: https://issues.apache.org/jira/browse/LOG4J2-1712 Pr

[jira] [Commented] (LOG4J2-1711) GAE sun.reflect.Reflection is a restricted class when spring web app start

2016-11-17 Thread mik (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15674318#comment-15674318 ] mik commented on LOG4J2-1711: - {quote} >From what I see it should be like this: Configuration

[jira] [Comment Edited] (LOG4J2-1711) GAE sun.reflect.Reflection is a restricted class when spring web app start

2016-11-17 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15674279#comment-15674279 ] Gary Gregory edited comment on LOG4J2-1711 at 11/17/16 5:24 PM: ---

[jira] [Commented] (LOG4J2-1711) GAE sun.reflect.Reflection is a restricted class when spring web app start

2016-11-17 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15674279#comment-15674279 ] Gary Gregory commented on LOG4J2-1711: -- >From what I see it should be like this: {c

[jira] [Commented] (LOG4J2-1711) GAE sun.reflect.Reflection is a restricted class when spring web app start

2016-11-17 Thread mik (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15674265#comment-15674265 ] mik commented on LOG4J2-1711: - {quote} If you set status to "INFO" as an attribute on the Con

[jira] [Commented] (LOG4J2-1711) GAE sun.reflect.Reflection is a restricted class when spring web app start

2016-11-17 Thread mik (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15674207#comment-15674207 ] mik commented on LOG4J2-1711: - {quote} Is your app not working at all? {quote} Yes, it works

[jira] [Commented] (LOG4J2-1711) GAE sun.reflect.Reflection is a restricted class when spring web app start

2016-11-17 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15674133#comment-15674133 ] Gary Gregory commented on LOG4J2-1711: -- Hello mik, If you set {{status to "INFO"}}

[jira] [Created] (LOG4J2-1711) GAE sun.reflect.Reflection is a restricted class when spring web app start

2016-11-17 Thread mik (JIRA)
mik created LOG4J2-1711: --- Summary: GAE sun.reflect.Reflection is a restricted class when spring web app start Key: LOG4J2-1711 URL: https://issues.apache.org/jira/browse/LOG4J2-1711 Project: Log4j 2 I

[jira] [Updated] (LOG4J2-1676) Use Message.getThrowable() in log(Message) methods

2016-11-17 Thread Joern Huxhorn (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joern Huxhorn updated LOG4J2-1676: -- Attachment: 0004-Using-Throwable-of-Message-if-not-explicitly-given.patch 0003-U

[jira] [Updated] (LOG4J2-1676) Use Message.getThrowable() in log(Message) methods

2016-11-17 Thread Joern Huxhorn (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joern Huxhorn updated LOG4J2-1676: -- Attachment: (was: 0002-Using-Throwable-of-Message-if-not-explicitly-given.patch) > Use Mes

[jira] [Updated] (LOG4J2-1676) Use Message.getThrowable() in log(Message) methods

2016-11-17 Thread Joern Huxhorn (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joern Huxhorn updated LOG4J2-1676: -- Attachment: (was: 0001-Using-Throwable-of-Message-if-available.patch) > Use Message.getThro