[jira] [Commented] (LOG4J2-1971) ClassCastException: org.eclipse.osgi.internal.loader.SystemBundleLoader$1 cannot be cast to java.lang.ClassLoader

2017-07-12 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16085205#comment-16085205 ] Gary Gregory commented on LOG4J2-1971: -- Might be of interest: http://aries.apache.or

[jira] [Commented] (LOG4J2-1971) ClassCastException: org.eclipse.osgi.internal.loader.SystemBundleLoader$1 cannot be cast to java.lang.ClassLoader

2017-07-12 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16085194#comment-16085194 ] Ralph Goers commented on LOG4J2-1971: - It should be the correct class loader. It is t

[jira] [Comment Edited] (LOG4J2-1971) ClassCastException: org.eclipse.osgi.internal.loader.SystemBundleLoader$1 cannot be cast to java.lang.ClassLoader

2017-07-12 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16085201#comment-16085201 ] Gary Gregory edited comment on LOG4J2-1971 at 7/13/17 5:23 AM:

[jira] [Commented] (LOG4J2-1971) ClassCastException: org.eclipse.osgi.internal.loader.SystemBundleLoader$1 cannot be cast to java.lang.ClassLoader

2017-07-12 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16085201#comment-16085201 ] Gary Gregory commented on LOG4J2-1971: -- # run: bin/karaf # type: install # You get

[jira] [Commented] (LOG4J2-1971) ClassCastException: org.eclipse.osgi.internal.loader.SystemBundleLoader$1 cannot be cast to java.lang.ClassLoader

2017-07-12 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16085191#comment-16085191 ] Gary Gregory commented on LOG4J2-1971: -- Right, you still have to feed it the right c

[jira] [Comment Edited] (LOG4J2-1971) ClassCastException: org.eclipse.osgi.internal.loader.SystemBundleLoader$1 cannot be cast to java.lang.ClassLoader

2017-07-12 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16085142#comment-16085142 ] Ralph Goers edited comment on LOG4J2-1971 at 7/13/17 4:17 AM: -

[jira] [Updated] (LOG4J2-1978) Dated rolling files are incorrectly labeled with the date/time segment of the future iteration

2017-07-12 Thread Russ (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Russ updated LOG4J2-1978: - Attachment: log4j2.xml > Dated rolling files are incorrectly labeled with the date/time segment of the > future

[jira] [Updated] (LOG4J2-1978) Dated rolling files are incorrectly labeled with the date/time segment of the future iteration

2017-07-12 Thread Russ (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Russ updated LOG4J2-1978: - Description: Rolled dated log files have the wrong date, in relation to the enclosed dated log entries. Rolled

[jira] [Updated] (LOG4J2-1978) Dated rolling files are incorrectly labeled with the date/time segment of the future iteration

2017-07-12 Thread Russ (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Russ updated LOG4J2-1978: - Description: Rolled dated log files have the wrong date, in relation to the enclosed dated log entries. Rolled

[jira] [Updated] (LOG4J2-1978) Dated rolling files are incorrectly labeled with the date/time segment of the future iteration

2017-07-12 Thread Russ (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Russ updated LOG4J2-1978: - Description: Rolled dated log files have the wrong date, in relation to the enclosed dated log entries. Rolled

[jira] [Updated] (LOG4J2-1978) Dated rolling files are incorrectly labeled with the date/time segment of the future iteration

2017-07-12 Thread Russ (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Russ updated LOG4J2-1978: - Description: Rolled dated log files have the wrong date, in relation to the enclosed dated log entries. Rolled

[jira] [Updated] (LOG4J2-1978) Dated rolling files are incorrectly labeled with the date/time segment of the future iteration

2017-07-12 Thread Russ (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Russ updated LOG4J2-1978: - Description: Rolled dated log files have the wrong date, in relation to the enclosed dated log entries. Using t

[jira] [Comment Edited] (LOG4J2-1971) ClassCastException: org.eclipse.osgi.internal.loader.SystemBundleLoader$1 cannot be cast to java.lang.ClassLoader

2017-07-12 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16085142#comment-16085142 ] Ralph Goers edited comment on LOG4J2-1971 at 7/13/17 3:47 AM: -

[jira] [Commented] (LOG4J2-1971) ClassCastException: org.eclipse.osgi.internal.loader.SystemBundleLoader$1 cannot be cast to java.lang.ClassLoader

2017-07-12 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16085142#comment-16085142 ] Ralph Goers commented on LOG4J2-1971: - So the difference between 2.8.2 and 2.9 is tha

[jira] [Commented] (LOG4J2-1971) ClassCastException: org.eclipse.osgi.internal.loader.SystemBundleLoader$1 cannot be cast to java.lang.ClassLoader

2017-07-12 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16085112#comment-16085112 ] Ralph Goers commented on LOG4J2-1971: - I see a few classes missing from the org.apach

[jira] [Comment Edited] (LOG4J2-1971) ClassCastException: org.eclipse.osgi.internal.loader.SystemBundleLoader$1 cannot be cast to java.lang.ClassLoader

2017-07-12 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16085112#comment-16085112 ] Ralph Goers edited comment on LOG4J2-1971 at 7/13/17 3:30 AM: -

[jira] [Commented] (LOG4J2-1971) ClassCastException: org.eclipse.osgi.internal.loader.SystemBundleLoader$1 cannot be cast to java.lang.ClassLoader

2017-07-12 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16085109#comment-16085109 ] Gary Gregory commented on LOG4J2-1971: -- I wonder if {{org.apache.logging.log4j.spi.P

[jira] [Commented] (LOG4J2-1971) ClassCastException: org.eclipse.osgi.internal.loader.SystemBundleLoader$1 cannot be cast to java.lang.ClassLoader

2017-07-12 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16085091#comment-16085091 ] Gary Gregory commented on LOG4J2-1971: -- I'm not sure why Karaf is doing it that way.

[jira] [Commented] (LOG4J2-1971) ClassCastException: org.eclipse.osgi.internal.loader.SystemBundleLoader$1 cannot be cast to java.lang.ClassLoader

2017-07-12 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16085065#comment-16085065 ] Ralph Goers commented on LOG4J2-1971: - Why is pax logging in the picture? The Activa

[jira] [Commented] (LOG4J2-1971) ClassCastException: org.eclipse.osgi.internal.loader.SystemBundleLoader$1 cannot be cast to java.lang.ClassLoader

2017-07-12 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16085057#comment-16085057 ] Gary Gregory commented on LOG4J2-1971: -- When I run the Apache Karaf console, I can i

[jira] [Created] (LOG4J2-1978) Dated rolling files are incorrectly labeled with the date/time segment of the future iteration

2017-07-12 Thread Russ (JIRA)
Russ created LOG4J2-1978: Summary: Dated rolling files are incorrectly labeled with the date/time segment of the future iteration Key: LOG4J2-1978 URL: https://issues.apache.org/jira/browse/LOG4J2-1978 Projec

[jira] [Commented] (LOG4J2-928) Lock-free synchronous sub-microsecond appender

2017-07-12 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16085019#comment-16085019 ] ASF GitHub Bot commented on LOG4J2-928: --- Github user garydgregory commented on the i

[jira] [Commented] (LOG4J2-1971) ClassCastException: org.eclipse.osgi.internal.loader.SystemBundleLoader$1 cannot be cast to java.lang.ClassLoader

2017-07-12 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16085022#comment-16085022 ] Ralph Goers commented on LOG4J2-1971: - Yes - you can read about OSGi and ServiceLoade

[GitHub] logging-log4j2 issue #87: [LOG4J2-928] Mostly wait-free MemoryMappedFileMana...

2017-07-12 Thread garydgregory
Github user garydgregory commented on the issue: https://github.com/apache/logging-log4j2/pull/87 Most folks are unlikely to look to closely at the docs. IMO we should make the docs as good as we can AND come up with default values that cover 80% of the cases. --- If your project i

Re: Maven Dependency Resolution Error

2017-07-12 Thread kenneth mcfarland
Issue resolved itself when running mvn clean install from logging-log4j root, weird but good.. thank you 😎 On Jul 12, 2017 4:42 PM, "kenneth mcfarland" wrote: > Originally I did skip the tests, but upon trying again without > -Dmaven.test.skip=true the error is still present :( > > kenobi@ubuntu

Re: Maven Dependency Resolution Error

2017-07-12 Thread kenneth mcfarland
Originally I did skip the tests, but upon trying again without -Dmaven.test.skip=true the error is still present :( kenobi@ubuntu:~/git/logging-log4j2/log4j-core-its$ mvn clean install [INFO] Scanning for projects... [INFO] [INFO] ---

[jira] [Commented] (LOG4J2-928) Lock-free synchronous sub-microsecond appender

2017-07-12 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16084901#comment-16084901 ] ASF GitHub Bot commented on LOG4J2-928: --- Github user remkop commented on the issue:

[GitHub] logging-log4j2 issue #87: [LOG4J2-928] Mostly wait-free MemoryMappedFileMana...

2017-07-12 Thread remkop
Github user remkop commented on the issue: https://github.com/apache/logging-log4j2/pull/87 Following new developments with interest. Looking forward to javadoc on the WriteTouch stuff. I just very briefly scanned the commit on my phone while commuting to work, but didn't see

[jira] [Commented] (LOG4J2-1971) ClassCastException: org.eclipse.osgi.internal.loader.SystemBundleLoader$1 cannot be cast to java.lang.ClassLoader

2017-07-12 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16084859#comment-16084859 ] Gary Gregory commented on LOG4J2-1971: -- It sounds like using OSGi and Service Loader

[GitHub] logging-log4j2 issue #92: Consider the StringBuilder's capacity instead of c...

2017-07-12 Thread garydgregory
Github user garydgregory commented on the issue: https://github.com/apache/logging-log4j2/pull/92 Hi, When I build with 'mvn clean install' from a clean git master, all the tests pass. Note that I am on Windows 10 and that the test HttpAppenderTest fails randomly for me, so I

Re: Maven Dependency Resolution Error

2017-07-12 Thread Ralph Goers
Did you skip tests in your build? This shouldn’t happen if you run mvn clean install. Ralph > On Jul 12, 2017, at 1:49 PM, kenneth mcfarland > wrote: > > Maven is having some issues when I try to build. >.< > > [ERROR] Failed to execute goal on project log4j-core-its: Could not resolve > dep

[GitHub] logging-log4j2 pull request #92: Consider the StringBuilder's capacity inste...

2017-07-12 Thread garydgregory
Github user garydgregory commented on a diff in the pull request: https://github.com/apache/logging-log4j2/pull/92#discussion_r127092555 --- Diff: log4j-core/src/test/java/org/apache/logging/log4j/core/layout/AbstractStringLayoutTest.java --- @@ -59,12 +59,14 @@ public void testG

Maven Dependency Resolution Error

2017-07-12 Thread kenneth mcfarland
Maven is having some issues when I try to build. >.< [ERROR] Failed to execute goal on project log4j-core-its: Could not resolve dependencies for project org.apache.logging.log4j:log4j-core-its:pom:2.9-SNAPSHOT: Failure to find org.apache.logging.log4j:log4j-core:jar:tests:2.9-SNAPSHOT in https:/

Re: [Log4j] 2.9 release and Java 9

2017-07-12 Thread Ralph Goers
I should also stress again that I have not tested this so although it looks like it should work I make no guarantees until it can be tested. Ralph > On Jul 12, 2017, at 1:31 PM, Ralph Goers wrote: > > Yeah, it would be nice to tell Maven/Nexus to use a different artifact when > building for A

Re: [Log4j] 2.9 release and Java 9

2017-07-12 Thread Ralph Goers
Yeah, it would be nice to tell Maven/Nexus to use a different artifact when building for Android but the best we can do is to document it well on the web site. Ralph > On Jul 12, 2017, at 12:49 PM, Mikael StÄldal wrote: > > It looks fine. > > The problem is that Android developers who get a

Re: [Log4j] 2.9 release and Java 9

2017-07-12 Thread Mikael StÄldal
It looks fine. The problem is that Android developers who get a transitive dependency to log4j-api now explicitly have to exclude it, and include log4j-api-android instead. It is not hard to do, but how do we reach out to those Android developers who might not even know what Log4j is (and do

Re: [Log4j] 2.9 release and Java 9

2017-07-12 Thread Mikael StÄldal
Providing trimmed down .jar file is not so important for Android since you always use ProGuard to remove unused classes when building an Android app. It is important to trim stuff that breaks on Android, but not to trim it size-wise. On 2017-07-10 23:40, Matt Sicker wrote: 1. The stack is

[jira] [Comment Edited] (LOG4J2-1971) ClassCastException: org.eclipse.osgi.internal.loader.SystemBundleLoader$1 cannot be cast to java.lang.ClassLoader

2017-07-12 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16084426#comment-16084426 ] Ralph Goers edited comment on LOG4J2-1971 at 7/12/17 6:13 PM: -

[jira] [Commented] (LOG4J2-1971) ClassCastException: org.eclipse.osgi.internal.loader.SystemBundleLoader$1 cannot be cast to java.lang.ClassLoader

2017-07-12 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16084426#comment-16084426 ] Ralph Goers commented on LOG4J2-1971: - Yes, Log4jProvider has been around a while. Bu

[jira] [Commented] (LOG4J2-1971) ClassCastException: org.eclipse.osgi.internal.loader.SystemBundleLoader$1 cannot be cast to java.lang.ClassLoader

2017-07-12 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16084371#comment-16084371 ] Gary Gregory commented on LOG4J2-1971: -- The class {{org.apache.logging.log4j.core.im

[GitHub] logging-log4j2 issue #92: Consider the StringBuilder's capacity instead of c...

2017-07-12 Thread xnslong
Github user xnslong commented on the issue: https://github.com/apache/logging-log4j2/pull/92 @garydgregory Yes, I noticed that and fixed it. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have t

[jira] [Commented] (LOG4J2-1971) ClassCastException: org.eclipse.osgi.internal.loader.SystemBundleLoader$1 cannot be cast to java.lang.ClassLoader

2017-07-12 Thread liwenxian2017 (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16083635#comment-16083635 ] liwenxian2017 commented on LOG4J2-1971: --- I used log4j-api-2.9-20170710.220402-39.j

[jira] [Created] (LOG4J2-1977) Consider the StringBuilder's capacity instead of content length when trimming

2017-07-12 Thread Gary Gregory (JIRA)
Gary Gregory created LOG4J2-1977: Summary: Consider the StringBuilder's capacity instead of content length when trimming Key: LOG4J2-1977 URL: https://issues.apache.org/jira/browse/LOG4J2-1977 Project

[GitHub] logging-log4j2 issue #82: Add a new LuceneAppender which writes logging even...

2017-07-12 Thread garydgregory
Github user garydgregory commented on the issue: https://github.com/apache/logging-log4j2/pull/82 I created a branch called "lucene5" in git. Can you test this branch? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If yo