buildbot exception in ASF Buildbot on log4j2-nightly

2015-06-22 Thread buildbot
The Buildbot has detected a build exception on builder log4j2-nightly while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/log4j2-nightly/builds/352 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: lares_ubuntu Build Reason: The Nightly sch

[jira] [Created] (LOG4J2-1059) log4j2 Configuration File not found in shaded jar

2015-06-22 Thread Christian Walczak (JIRA)
Christian Walczak created LOG4J2-1059: - Summary: log4j2 Configuration File not found in shaded jar Key: LOG4J2-1059 URL: https://issues.apache.org/jira/browse/LOG4J2-1059 Project: Log4j 2

[jira] [Commented] (LOG4J2-673) plugin preloading fails in shaded jar files

2015-06-22 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14595939#comment-14595939 ] Günther Falk commented on LOG4J2-673: - Hi, I have the same problem when creating a ja

[jira] [Comment Edited] (LOG4J2-673) plugin preloading fails in shaded jar files

2015-06-22 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14595939#comment-14595939 ] Günther Falk edited comment on LOG4J2-673 at 6/22/15 1:53 PM: --

[jira] [Commented] (LOG4J2-1059) log4j2 Configuration File not found in shaded jar

2015-06-22 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14595988#comment-14595988 ] Günther Falk commented on LOG4J2-1059: -- Hi, I discovered the same problem on my sid

[jira] [Commented] (LOG4J2-369) How to include the log4j2 lib jar into a jar with my application class and run it ?

2015-06-22 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14596026#comment-14596026 ] Günther Falk commented on LOG4J2-369: - Hi Ralph, I tried to copy the class files and

[jira] [Commented] (LOG4J2-673) plugin preloading fails in shaded jar files

2015-06-22 Thread Eduard Gizatullin (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14596055#comment-14596055 ] Eduard Gizatullin commented on LOG4J2-673: -- Hey, My comment at 18/Feb/15 20:35 i

[jira] [Resolved] (LOG4J2-1058) Log4jMarker#contains(String) does not respect org.slf4j.Marker contract

2015-06-22 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory resolved LOG4J2-1058. -- Resolution: Fixed Fix Version/s: 2.4 Fixed in Git master. Please verify and close. > Lo

[jira] [Comment Edited] (LOG4J2-1058) Log4jMarker#contains(String) does not respect org.slf4j.Marker contract

2015-06-22 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14596170#comment-14596170 ] Gary Gregory edited comment on LOG4J2-1058 at 6/22/15 4:28 PM:

[jira] [Created] (LOG4J2-1060) Log4jMarker#contains(Marker) does not respect org.slf4j.Marker contract

2015-06-22 Thread Gary Gregory (JIRA)
Gary Gregory created LOG4J2-1060: Summary: Log4jMarker#contains(Marker) does not respect org.slf4j.Marker contract Key: LOG4J2-1060 URL: https://issues.apache.org/jira/browse/LOG4J2-1060 Project: Log4

[jira] [Created] (LOG4J2-1061) Log4jMarker#remove(Marker) does not respect org.slf4j.Marker contract

2015-06-22 Thread Gary Gregory (JIRA)
Gary Gregory created LOG4J2-1061: Summary: Log4jMarker#remove(Marker) does not respect org.slf4j.Marker contract Key: LOG4J2-1061 URL: https://issues.apache.org/jira/browse/LOG4J2-1061 Project: Log4j

[jira] [Updated] (LOG4J2-1061) Log4jMarker#remove(Marker) does not respect org.slf4j.Marker contract

2015-06-22 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated LOG4J2-1061: - Description: Passing {{null}} to {{Log4jMarker#remove(Marker)}} throws a {{NullPointerException}}

[jira] [Closed] (LOG4J2-1061) Log4jMarker#remove(Marker) does not respect org.slf4j.Marker contract

2015-06-22 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory closed LOG4J2-1061. Resolution: Fixed In Git master. > Log4jMarker#remove(Marker) does not respect org.slf4j.Marker co

[jira] [Updated] (LOG4J2-1062) Log4jMarker#add(Marker) does not respect org.slf4j.Marker contract

2015-06-22 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated LOG4J2-1062: - Description: Passing {{null}} to {{Log4jMarker#add(Marker)}} throws a {{NullPointerException}} in

[jira] [Created] (LOG4J2-1062) Log4jMarker#add(Marker) does not respect org.slf4j.Marker contract

2015-06-22 Thread Gary Gregory (JIRA)
Gary Gregory created LOG4J2-1062: Summary: Log4jMarker#add(Marker) does not respect org.slf4j.Marker contract Key: LOG4J2-1062 URL: https://issues.apache.org/jira/browse/LOG4J2-1062 Project: Log4j 2

[jira] [Closed] (LOG4J2-1062) Log4jMarker#add(Marker) does not respect org.slf4j.Marker contract

2015-06-22 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory closed LOG4J2-1062. Resolution: Fixed In Git master. > Log4jMarker#add(Marker) does not respect org.slf4j.Marker contr

[jira] [Created] (LOG4J2-1063) Avoid creating temporary array object in org.apache.logging.slf4j.Log4jMarker.iterator()

2015-06-22 Thread Gary Gregory (JIRA)
Gary Gregory created LOG4J2-1063: Summary: Avoid creating temporary array object in org.apache.logging.slf4j.Log4jMarker.iterator() Key: LOG4J2-1063 URL: https://issues.apache.org/jira/browse/LOG4J2-1063

[jira] [Updated] (LOG4J2-1063) Avoid creating temporary array objects in org.apache.logging.slf4j.Log4jMarker.iterator()

2015-06-22 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated LOG4J2-1063: - Summary: Avoid creating temporary array objects in org.apache.logging.slf4j.Log4jMarker.iterator(

[jira] [Closed] (LOG4J2-1063) Avoid creating temporary array objects in org.apache.logging.slf4j.Log4jMarker.iterator()

2015-06-22 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory closed LOG4J2-1063. Resolution: Fixed In Git master. > Avoid creating temporary array objects in > org.apache.logging

[jira] [Created] (LOG4J2-1064) org.apache.logging.slf4j.Log4jMarker does not implement org.slf4j.Marker.equals(Object) org.slf4j.Marker.hashCode()

2015-06-22 Thread Gary Gregory (JIRA)
Gary Gregory created LOG4J2-1064: Summary: org.apache.logging.slf4j.Log4jMarker does not implement org.slf4j.Marker.equals(Object) org.slf4j.Marker.hashCode() Key: LOG4J2-1064 URL: https://issues.apache.org/jira/b

[jira] [Created] (LOG4J2-1065) Define org.apache.logging.log4j.Marker.equals(Object) and org.apache.logging.log4j.Marker.hashCode()

2015-06-22 Thread Gary Gregory (JIRA)
Gary Gregory created LOG4J2-1065: Summary: Define org.apache.logging.log4j.Marker.equals(Object) and org.apache.logging.log4j.Marker.hashCode() Key: LOG4J2-1065 URL: https://issues.apache.org/jira/browse/LOG4J2-10

Re: ShutdownCallbackRegsitry instance getter?

2015-06-22 Thread Charles Allen
No, oddly enough. The following options are being set: properties.setProperty("log4j.shutdownCallbackRegistry", "io.druid.common.config.Log4jShutdown"); properties.setProperty("log4j.shutdownHookEnabled", "true"); I know it is getting called though and I have the following at the start and end

[jira] [Closed] (LOG4J2-1065) Define org.apache.logging.log4j.Marker.equals(Object) and org.apache.logging.log4j.Marker.hashCode()

2015-06-22 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory closed LOG4J2-1065. Resolution: Fixed In Git master, > Define org.apache.logging.log4j.Marker.equals(Object) and > or

[jira] [Closed] (LOG4J2-1064) org.apache.logging.slf4j.Log4jMarker does not implement org.slf4j.Marker.equals(Object) org.slf4j.Marker.hashCode()

2015-06-22 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory closed LOG4J2-1064. Resolution: Fixed In Git master. > org.apache.logging.slf4j.Log4jMarker does not implement > org.

Re: ShutdownCallbackRegsitry instance getter?

2015-06-22 Thread Gary Gregory
If you do not see the message "Using ShutdownCallbackRegistry YOUR_CLASS_INSTANCE" then that is not good. Can you try setting the system properties from the command line instead of programmatically? I wonder if Log4j is initialized _before_ your setProperty calls. Gary On Mon, Jun 22, 2015 at 11

Re: ShutdownCallbackRegsitry instance getter?

2015-06-22 Thread Charles Allen
No, it is still not showing up. For the record, this is using 2.2 Which seems odd because if I break on Log4jContextFactory.java:88 then the shutdownCallbackRegistry is the correct custom instance if the properties are set programmatically or at command line, but it simply does not print out the de

Re: ShutdownCallbackRegsitry instance getter?

2015-06-22 Thread Charles Allen
org.apache.logging.log4j.core.impl.Log4jContextFactory#createShutdownCallbackRegistry creates the instance of interest, but the resulting instance is not get-able without using reflection? On Mon, Jun 22, 2015 at 12:36 PM Charles Allen < charles.al...@metamarkets.com> wrote: > No, it is still not

Re: ShutdownCallbackRegsitry instance getter?

2015-06-22 Thread Gary Gregory
On Mon, Jun 22, 2015 at 12:44 PM, Charles Allen < charles.al...@metamarkets.com> wrote: > org.apache.logging.log4j.core.impl.Log4jContextFactory#createShutdownCallbackRegistry > creates the instance of interest, but the resulting instance is not > get-able without using reflection? > That's true

Re: ShutdownCallbackRegsitry instance getter?

2015-06-22 Thread Charles Allen
That indeed would be one solution for my use case. If there is some other recommended method (like programmatically create the context factory and not let auto-creation do it) that is "more preferred" than simply having a getter on the factory then I would love to know about it. On Mon, Jun 22, 2

Re: ShutdownCallbackRegsitry instance getter?

2015-06-22 Thread Gary Gregory
I'd like to hear from Ralph and/or Remko on this. I'll add the getter anyway. It seems to me that if you pass in the object in a ctor and it is set in an ivar, it should be accessible via a getter. Gary On Mon, Jun 22, 2015 at 1:42 PM, Charles Allen < charles.al...@metamarkets.com> wrote: > That

Re: ShutdownCallbackRegsitry instance getter?

2015-06-22 Thread Gary Gregory
FYI: The getter in is Git master now. On Mon, Jun 22, 2015 at 1:50 PM, Gary Gregory wrote: > I'd like to hear from Ralph and/or Remko on this. I'll add the getter > anyway. It seems to me that if you pass in the object in a ctor and it is > set in an ivar, it should be accessible via a getter. >

Re: ShutdownCallbackRegsitry instance getter?

2015-06-22 Thread Charles Allen
Thanks Gary! On Mon, Jun 22, 2015 at 1:54 PM Gary Gregory wrote: > FYI: The getter in is Git master now. > > On Mon, Jun 22, 2015 at 1:50 PM, Gary Gregory > wrote: > >> I'd like to hear from Ralph and/or Remko on this. I'll add the getter >> anyway. It seems to me that if you pass in the object

Re: ShutdownCallbackRegsitry instance getter?

2015-06-22 Thread Gary Gregory
YW Charles. Can you create a JIRA that describes your use case? This way we can keep trace of it and the current solution and make a note of it in the release notes for the upcoming 2.4. Gary On Mon, Jun 22, 2015 at 2:31 PM, Charles Allen < charles.al...@metamarkets.com> wrote: > Thanks Gary! >

[jira] [Created] (LOG4J2-1066) Expose ShutdownCallbackRegistry

2015-06-22 Thread Charles Allen (JIRA)
Charles Allen created LOG4J2-1066: - Summary: Expose ShutdownCallbackRegistry Key: LOG4J2-1066 URL: https://issues.apache.org/jira/browse/LOG4J2-1066 Project: Log4j 2 Issue Type: Improvement

[jira] [Commented] (LOG4J2-1066) Expose ShutdownCallbackRegistry

2015-06-22 Thread Charles Allen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14596778#comment-14596778 ] Charles Allen commented on LOG4J2-1066: --- Conversation related: http://thread.gmane

Re: ShutdownCallbackRegsitry instance getter?

2015-06-22 Thread Charles Allen
Filed https://issues.apache.org/jira/browse/LOG4J2-1066 On Mon, Jun 22, 2015 at 2:42 PM Gary Gregory wrote: > YW Charles. Can you create a JIRA that describes your use case? This way > we can keep trace of it and the current solution and make a note of it in > the release notes for the upcomin

[jira] [Updated] (LOG4J2-1066) Expose Log4jContextFactory's ShutdownCallbackRegistry

2015-06-22 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated LOG4J2-1066: - Summary: Expose Log4jContextFactory's ShutdownCallbackRegistry (was: Expose ShutdownCallbackRegi

[jira] [Resolved] (LOG4J2-1066) Expose Log4jContextFactory's ShutdownCallbackRegistry

2015-06-22 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory resolved LOG4J2-1066. -- Resolution: Fixed Fix Version/s: 2.4 Charles, Thank you for filing this ticket and your

[jira] [Closed] (LOG4J2-1066) Expose Log4jContextFactory's ShutdownCallbackRegistry

2015-06-22 Thread Charles Allen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Charles Allen closed LOG4J2-1066. - > Expose Log4jContextFactory's ShutdownCallbackRegistry > ---

[jira] [Commented] (LOG4J2-1066) Expose Log4jContextFactory's ShutdownCallbackRegistry

2015-06-22 Thread Charles Allen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14596872#comment-14596872 ] Charles Allen commented on LOG4J2-1066: --- {code} getShutdownCallbackRegistry{code} w

[jira] [Issue Comment Deleted] (LOG4J2-1028) Incorrect Line Number in location information

2015-06-22 Thread Stefan Leonhartsberger (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Leonhartsberger updated LOG4J2-1028: --- Comment: was deleted (was: Thank you for your message. I am currently out of