Re: Config additions, WAS: Confused: want low latency: do I need BOTH async logger AND async appender??

2013-07-23 Thread Ralph Goers
That email was from a while ago. I think I just came up with another attribute for the JMX element. I'll have to look at the status logger but I believe it is always creating a StatusData object and putting it in a ring buffer so they can be printed later. This will actually create a lot of o

Re: Config additions, WAS: Confused: want low latency: do I need BOTH async logger AND async appender??

2013-07-23 Thread Remko Popma
Understood about CamelCase, not a problem. Maybe AsyncLoggers is a better element name anyway. How does this look? >  waitStrategy="Block" /> >  > Sorry, I don't remember what email from Simo you are referring to. From: Gary Gregory To: Log4J Developers List

Re: Config additions, WAS: Confused: want low latency: do I need BOTH async logger AND async appender??

2013-07-23 Thread Gary Gregory
What is up with the dashes in element names? That is unsightly IMO. I know that we have some - IMO unnecessary - flexibility in our config code to make XML case insensitive but dashes we have in there now make it impossible to make the XML look decent. If it were just me I would use CamelCase for

Re: Config additions, WAS: Confused: want low latency: do I need BOTH async logger AND async appender??

2013-07-23 Thread Remko Popma
After looking at your changes for LOG4J2-318 to add the shutdownHookEnabled attribute I understand a bit better. Here is a list of properties that can be used to configure AsyncLoggers when all loggers are Async: * Log4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelec

[jira] [Resolved] (LOG4J2-280) AsynchAppender's AsynchThread blocks Tomcat shutdown

2013-07-23 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma resolved LOG4J2-280. Resolution: Fixed Fix Version/s: 2.0-beta9 Committed revision 1506290: Additional fix to mak

Re: Config additions, WAS: Confused: want low latency: do I need BOTH async logger AND async appender??

2013-07-23 Thread Ralph Goers
What don't you know? I'd be happy to help with that :-) Ralph On Jul 23, 2013, at 9:20 AM, Remko Popma wrote: > I wouldn't mind doing this but don't know how. > > Remko > > Sent from my iPhone > > On 2013/07/24, at 0:46, Nick Williams wrote: > >> I don't know the answer to this guy's que

Re: Config additions, WAS: Confused: want low latency: do I need BOTH async logger AND async appender??

2013-07-23 Thread Remko Popma
I wouldn't mind doing this but don't know how. Remko Sent from my iPhone On 2013/07/24, at 0:46, Nick Williams wrote: > I don't know the answer to this guy's question on the user's list, but it > brought up something interesting that we need to look at. Already (in a > separate issue) we ha

Re: Config additions, WAS: Confused: want low latency: do I need BOTH async logger AND async appender??

2013-07-23 Thread Paul Benedict
That's true. Furthermore, he's lucky that he can set properties without throwing an exception. Some IT environments have that locked down so applications can't mangle them. On Tue, Jul 23, 2013 at 10:49 AM, Gary Gregory wrote: > On Jul 23, 2013, at 11:47, Nick Williams > wrote: > > > I don't kn

Re: Config additions, WAS: Confused: want low latency: do I need BOTH async logger AND async appender??

2013-07-23 Thread Gary Gregory
On Jul 23, 2013, at 11:47, Nick Williams wrote: > I don't know the answer to this guy's question on the user's list, but it > brought up something interesting that we need to look at. Already (in a > separate issue) we have talked about needing a config element for JMX so that > you don't have

Config additions, WAS: Confused: want low latency: do I need BOTH async logger AND async appender??

2013-07-23 Thread Nick Williams
I don't know the answer to this guy's question on the user's list, but it brought up something interesting that we need to look at. Already (in a separate issue) we have talked about needing a config element for JMX so that you don't have to use properties in this manner. IMO, if there's not a w

[jira] [Updated] (LOG4J2-10) log4j 2.0 should work well with OSGi and Apache Felix

2013-07-23 Thread Timothy Ward (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-10?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Ward updated LOG4J2-10: --- Attachment: tests-and-version-ranges.patch Hi, As requested I've worked on a patch which improves the

[jira] [Commented] (LOG4J2-318) On termination Log4j terminates before the application

2013-07-23 Thread Maurizio Sartori (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716387#comment-13716387 ] Maurizio Sartori commented on LOG4J2-318: - I tested the beta9-SNAPSHOT with the sh

[jira] [Resolved] (LOG4J2-314) How to create multiple appenders at runtime, sharing an AsyncAppender?

2013-07-23 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma resolved LOG4J2-314. Resolution: Fixed OK, I will mark this Jira ticket as resolved. Please remember, if you need featu

[jira] [Commented] (LOG4J2-314) How to create multiple appenders at runtime, sharing an AsyncAppender?

2013-07-23 Thread Sudharma Puranik (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716345#comment-13716345 ] Sudharma Puranik commented on LOG4J2-314: - hmm.. I think as of now I can go ahead

[jira] [Commented] (LOG4J2-314) How to create multiple appenders at runtime, sharing an AsyncAppender?

2013-07-23 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716297#comment-13716297 ] Remko Popma commented on LOG4J2-314: I see... If you don't call {{ThreadContext.put("

[jira] [Comment Edited] (LOG4J2-314) How to create multiple appenders at runtime, sharing an AsyncAppender?

2013-07-23 Thread Sudharma Puranik (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716286#comment-13716286 ] Sudharma Puranik edited comment on LOG4J2-314 at 7/23/13 10:28 AM: -

[jira] [Commented] (LOG4J2-314) How to create multiple appenders at runtime, sharing an AsyncAppender?

2013-07-23 Thread Sudharma Puranik (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716286#comment-13716286 ] Sudharma Puranik commented on LOG4J2-314: - check this example probably you will un

[jira] [Updated] (LOG4J2-314) How to create multiple appenders at runtime, sharing an AsyncAppender?

2013-07-23 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-314: --- Summary: How to create multiple appenders at runtime, sharing an AsyncAppender? (was: Multiple threa

[jira] [Comment Edited] (LOG4J2-314) Multiple thread creation problem with AsyncAppender

2013-07-23 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716273#comment-13716273 ] Remko Popma edited comment on LOG4J2-314 at 7/23/13 9:59 AM: -

[jira] [Commented] (LOG4J2-314) Multiple thread creation problem with AsyncAppender

2013-07-23 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716273#comment-13716273 ] Remko Popma commented on LOG4J2-314: Oops... I see. If a route does not have a key is

[jira] [Commented] (LOG4J2-314) Multiple thread creation problem with AsyncAppender

2013-07-23 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716270#comment-13716270 ] Remko Popma commented on LOG4J2-314: I don't understand why the 1st does not work. My

[jira] [Commented] (LOG4J2-314) Multiple thread creation problem with AsyncAppender

2013-07-23 Thread Sudharma Puranik (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716268#comment-13716268 ] Sudharma Puranik commented on LOG4J2-314: - 1st doesnt work because there can be on

[jira] [Commented] (LOG4J2-314) Multiple thread creation problem with AsyncAppender

2013-07-23 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716261#comment-13716261 ] Remko Popma commented on LOG4J2-314: I'm not that familiar with how the RoutingAppende

[jira] [Comment Edited] (LOG4J2-314) Multiple thread creation problem with AsyncAppender

2013-07-23 Thread Sudharma Puranik (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716247#comment-13716247 ] Sudharma Puranik edited comment on LOG4J2-314 at 7/23/13 9:12 AM: --

[jira] [Commented] (LOG4J2-314) Multiple thread creation problem with AsyncAppender

2013-07-23 Thread Sudharma Puranik (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716247#comment-13716247 ] Sudharma Puranik commented on LOG4J2-314: - For routing I can make for specific Sum

[jira] [Comment Edited] (LOG4J2-314) Multiple thread creation problem with AsyncAppender

2013-07-23 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716219#comment-13716219 ] Remko Popma edited comment on LOG4J2-314 at 7/23/13 8:06 AM: -

[jira] [Commented] (LOG4J2-314) Multiple thread creation problem with AsyncAppender

2013-07-23 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716219#comment-13716219 ] Remko Popma commented on LOG4J2-314: Can I change the title of this Jira? I think the

[jira] [Commented] (LOG4J2-314) Multiple thread creation problem with AsyncAppender

2013-07-23 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716215#comment-13716215 ] Remko Popma commented on LOG4J2-314: It is possible to have multiple AsyncAppenders. B

[jira] [Commented] (LOG4J2-314) Multiple thread creation problem with AsyncAppender

2013-07-23 Thread Sudharma Puranik (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716196#comment-13716196 ] Sudharma Puranik commented on LOG4J2-314: - [[email protected]] : Yes I am able to