[jira] [Commented] (LOG4J2-1468) EJBs' Concurrent Initilization Phase Logs Issue

2016-07-20 Thread Sawan Patwari (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15385467#comment-15385467 ] Sawan Patwari commented on LOG4J2-1468: --- Hi Remko, Don't worry about the jar files

Jenkins build is still unstable: Log4j 2.x #2096

2016-07-20 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] [Commented] (LOG4J2-1468) EJBs' Concurrent Initilization Phase Logs Issue

2016-07-20 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15385505#comment-15385505 ] Remko Popma commented on LOG4J2-1468: - I would like to confirm if the problem occurs

[jira] [Commented] (LOG4J2-1468) EJBs' Concurrent Initilization Phase Logs Issue

2016-07-20 Thread Sawan Patwari (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15385531#comment-15385531 ] Sawan Patwari commented on LOG4J2-1468: --- Sure. I will try that option for you : )

[jira] [Closed] (LOG4J2-690) log4j-web pom.xml - test artifacts should be in test scope

2016-07-20 Thread Philip Helger (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Philip Helger closed LOG4J2-690. > log4j-web pom.xml - test artifacts should be in test scope > -

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

2016-07-20 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15385736#comment-15385736 ] Remko Popma commented on LOG4J2-369: Looks like people are still interested in this: h

[jira] [Commented] (LOG4J2-1468) EJBs' Concurrent Initilization Phase Logs Issue

2016-07-20 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15385869#comment-15385869 ] Ralph Goers commented on LOG4J2-1468: - Is this a duplicate or at least similar to LOG

[jira] [Commented] (LOG4J2-1468) EJBs' Concurrent Initilization Phase Logs Issue

2016-07-20 Thread Sawan Patwari (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15385925#comment-15385925 ] Sawan Patwari commented on LOG4J2-1468: --- Hi Remko, I have attached my findings per

[jira] [Updated] (LOG4J2-1468) EJBs' Concurrent Initilization Phase Logs Issue

2016-07-20 Thread Sawan Patwari (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sawan Patwari updated LOG4J2-1468: -- Attachment: Log4j2.x Upgradation Issue Information - V1.docx > EJBs' Concurrent Initilization P

[jira] [Comment Edited] (LOG4J2-1468) EJBs' Concurrent Initilization Phase Logs Issue

2016-07-20 Thread Sawan Patwari (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15385925#comment-15385925 ] Sawan Patwari edited comment on LOG4J2-1468 at 7/20/16 2:23 PM: ---

[jira] [Comment Edited] (LOG4J2-1468) EJBs' Concurrent Initilization Phase Logs Issue

2016-07-20 Thread Sawan Patwari (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15385925#comment-15385925 ] Sawan Patwari edited comment on LOG4J2-1468 at 7/20/16 2:55 PM: ---

[jira] [Closed] (LOG4J2-1470) Add convenience API Configurator.initializeResource(String, ClassLoader, String)

2016-07-20 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory closed LOG4J2-1470. Resolution: Not A Problem Awesome, I did not know this API would work with a resource file in a jar

[no subject]

2016-07-20 Thread Gary Gregory
Hi, Right I have to say: import org.apache.logging.log4j.core.LoggerContext; final LoggerContext context = Configurator.initialize("Name", aClassLoader, "path/to/config.xml"); try { ... } finally { Configurator.shutdown(context); } This would

[jira] [Resolved] (LOG4J2-1469) I wish the json layout used a map structure for the context map instead of a list of map entry objects.

2016-07-20 Thread Justin Knowles (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Knowles resolved LOG4J2-1469. Resolution: Duplicate Fix Version/s: 2.6 Sorry, guess I should do a better job searc

Fwd: Jenkins build is still unstable: Log4j 2.x #2096

2016-07-20 Thread Gary Gregory
The failure: https://builds.apache.org/job/Log4j%202.x/2096/org.apache.logging.log4j$log4j-core/testReport/org.apache.logging.log4j.core.appender.rolling/RollingAppenderCronTest/testAppender/ That test passes for me locally in Eclipse. Gary -- Forwarded message -- From: Apache J

Re: Add convenience API Configurator.initializeResource(String, ClassLoader, String)

2016-07-20 Thread Gary Gregory
FYI: The API is not needed. Please see the the ticket I closed. Gary On Tue, Jul 19, 2016 at 8:24 PM, Matt Sicker wrote: > I'm usually all for convenience APIs that reduce code duplication. > > On 19 July 2016 at 22:08, Gary Gregory wrote: > >> Thoughts on https://issues.apache.org/jira/browse

Re:

2016-07-20 Thread Ralph Goers
AutoCloseable? I guess I wouldn’t think it would be all that common to use that, but OK. Most of the time I expect it will get used in some other initialize method and shutdown would be called in some sort of termination handler, much like the Servlet spec does. So unlike something like a JD

Re: Jenkins build is still unstable: Log4j 2.x #2096

2016-07-20 Thread Ralph Goers
Yeah, it is another case of the test not knowing when the gzip has finished. Ralph > On Jul 20, 2016, at 9:50 AM, Gary Gregory wrote: > > The failure: > > https://builds.apache.org/job/Log4j%202.x/2096/org.apache.logging.log4j$log4j-core/testReport/org.apache.logging.log4j.core.appender.rollin

Re:

2016-07-20 Thread Gary Gregory
Granted my use case might be unusual but it seems to fit having LoggerContext implement Closeable. I'll put that on my TODO list. Gary On Wed, Jul 20, 2016 at 10:32 AM, Ralph Goers wrote: > AutoCloseable? > > I guess I wouldn’t think it would be all that common to use that, but OK. > Most of th

[jira] [Commented] (LOG4J2-1467) OSGi: Missing import package

2016-07-20 Thread Ralf (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15386355#comment-15386355 ] Ralf commented on LOG4J2-1467: -- LoaderUtils uses {{Class.forName(...)}}, so it depends in th

Build failed in Jenkins: Log4j 2.x #2097

2016-07-20 Thread Apache Jenkins Server
See Changes: [ggregory] The value of the field RollingAppenderCronTest.formatter is not used. -- [...truncated 24461 lines...] [INFO] skip non existing resourceDirectory

[jira] [Commented] (LOG4J2-1467) OSGi: Missing import package

2016-07-20 Thread Matt Sicker (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15386529#comment-15386529 ] Matt Sicker commented on LOG4J2-1467: - What are you talking about? Here's the code:

[jira] [Commented] (LOG4J2-1467) OSGi: Missing import package

2016-07-20 Thread Ralf (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15386667#comment-15386667 ] Ralf commented on LOG4J2-1467: -- I'm talking about the stacktrace in the description of this

[jira] [Commented] (LOG4J2-1467) OSGi: Missing import package

2016-07-20 Thread Matt Sicker (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15386670#comment-15386670 ] Matt Sicker commented on LOG4J2-1467: - Oh, then it looks like the TCCL did not have a

[jira] [Created] (LOG4J2-1471) [PatternLayout] Add an ANSI option to %xThrowable

2016-07-20 Thread Gary Gregory (JIRA)
Gary Gregory created LOG4J2-1471: Summary: [PatternLayout] Add an ANSI option to %xThrowable Key: LOG4J2-1471 URL: https://issues.apache.org/jira/browse/LOG4J2-1471 Project: Log4j 2 Issue Typ

[jira] [Updated] (LOG4J2-1471) [PatternLayout] Add an ANSI option to %xThrowable

2016-07-20 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated LOG4J2-1471: - Attachment: xThrowableJansi.png xThrowableJansiSiteDocs.png > [PatternLayout] Add

[jira] [Updated] (LOG4J2-1471) [PatternLayout] Add an ANSI option to %xThrowable

2016-07-20 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated LOG4J2-1471: - Description: See screenshot attachments. The idea is to print out exceptions to the console usin

[jira] [Updated] (LOG4J2-1471) [PatternLayout] Add an ANSI option to %xThrowable

2016-07-20 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated LOG4J2-1471: - Description: See screenshot attachments. The idea is to print out exceptions to the console usin

Re: Jenkins build is still unstable: Log4j 2.x #2096

2016-07-20 Thread Remko Popma
Should we introduce listener notifications when rollover actions are done? Plugins that implement some interface and are configured in the DefaultRolloverStrategy get a callback? Sent from my iPhone > On 2016/07/21, at 2:33, Ralph Goers wrote: > > Yeah, it is another case of the test not know

[jira] [Commented] (LOG4J2-1469) I wish the json layout used a map structure for the context map instead of a list of map entry objects.

2016-07-20 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15386829#comment-15386829 ] Remko Popma commented on LOG4J2-1469: - No worries! Spread the Log4j 2 goodness word!

Re: Jenkins build is still unstable: Log4j 2.x #2096

2016-07-20 Thread Ralph Goers
That has actually been requested once or twice. I really like the idea. Ralph > On Jul 20, 2016, at 4:46 PM, Remko Popma wrote: > > Should we introduce listener notifications when rollover actions are done? > Plugins that implement some interface and are configured in the > DefaultRolloverStr

[jira] [Created] (LOG4J2-1472) Make org.apache.logging.log4j.core.LoggerContext implement Closeable

2016-07-20 Thread Gary Gregory (JIRA)
Gary Gregory created LOG4J2-1472: Summary: Make org.apache.logging.log4j.core.LoggerContext implement Closeable Key: LOG4J2-1472 URL: https://issues.apache.org/jira/browse/LOG4J2-1472 Project: Log4j 2

LOG4J2-1472 Make org.apache.logging.log4j.core.LoggerContext implement Closeable

2016-07-20 Thread Gary Gregory
Hi All: With: LOG4J2-1472 Make org.apache.logging.log4j.core.LoggerContext implement Closeable https://issues.apache.org/jira/browse/LOG4J2-1472 I have questions: public class LoggerContext extends AbstractLifeCycle implements org.apache.logging.log4j.spi.LoggerContext, Closeable, Termi

[jira] [Commented] (LOG4J2-1472) Make org.apache.logging.log4j.core.LoggerContext implement Closeable

2016-07-20 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15387071#comment-15387071 ] Gary Gregory commented on LOG4J2-1472: -- Code is in Git master. > Make org.apache.lo

[jira] [Resolved] (LOG4J2-1472) Make org.apache.logging.log4j.core.LoggerContext implement Closeable

2016-07-20 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory resolved LOG4J2-1472. -- Resolution: Fixed > Make org.apache.logging.log4j.core.LoggerContext implement Closeable >

Re: LOG4J2-1472 Make org.apache.logging.log4j.core.LoggerContext implement Closeable

2016-07-20 Thread Matt Sicker
I think you should use AutoCloseable. I don't think the LifeCycle classes should necessarily advertise themselves as closeable due to semantic reasons (same goes for Terminable). On 20 July 2016 at 22:21, Gary Gregory wrote: > Hi All: > > With: > > LOG4J2-1472 > Make org.apache.logging.log4j.co

Re: LOG4J2-1472 Make org.apache.logging.log4j.core.LoggerContext implement Closeable

2016-07-20 Thread Gary Gregory
On Wed, Jul 20, 2016 at 8:39 PM, Matt Sicker wrote: > I think you should use AutoCloseable. > I think I like AutoCloseable too... I'll make the change. Thank you, Gary > > I don't think the LifeCycle classes should necessarily advertise > themselves as closeable due to semantic reasons (same g

[jira] [Updated] (LOG4J2-1472) Make org.apache.logging.log4j.core.LoggerContext implement AutoCloseable

2016-07-20 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated LOG4J2-1472: - Description: Make org.apache.logging.log4j.core.LoggerContext implement AutoCloseable to be able

[jira] [Updated] (LOG4J2-1472) Make org.apache.logging.log4j.core.LoggerContext implement AutoCloseable

2016-07-20 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated LOG4J2-1472: - Summary: Make org.apache.logging.log4j.core.LoggerContext implement AutoCloseable (was: Make org

[jira] [Updated] (LOG4J2-1472) Make org.apache.logging.log4j.core.LoggerContext implement AutoCloseable

2016-07-20 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated LOG4J2-1472: - Description: Make {{org.apache.logging.log4j.core.LoggerContext}} implement {{AutoCloseable}} to

Build failed in Jenkins: Log4j 2.x #2098

2016-07-20 Thread Apache Jenkins Server
See Changes: [ggregory] Remove unused import. [ggregory] Remove unused imports. -- [...truncated 24464 lines...] Results : Tests run: 5, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording tes