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

2013-07-23 Thread Remko Popma (JIRA)
ault. How about this then: {code} {code} > Multiple thread creation problem with AsyncAppender > --- > > Key: LOG4J2-314 >

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

2013-07-23 Thread Remko Popma (JIRA)
y is becomes the default. How about this then: {code} {code} > Multiple thread creation problem with AsyncAppender > --- > >

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

2013-07-23 Thread Remko Popma (JIRA)
not work. My intention was to make {{ }} the default routing so that you don't need to put anything in the ThreadContextMap... Can you explain what does not work? > Multiple thread creation problem w

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

2013-07-23 Thread Sudharma Puranik (JIRA)
for helping me to solve my problem. Thank you very much for your dedication and interest to solve the problems :-) I love your log4j Team for your prompt response for any trivial issue. You folks are doing great work :-)Keep it up guys. > Multiple thread creation probl

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

2013-07-23 Thread Remko Popma (JIRA)
{code} If that does not work, can you try {{key="ROUTING_APPENDER_DEFAULT"}}? Like this: {code} {code} > Multiple thread creation problem with AsyncAppender > -

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

2013-07-23 Thread Sudharma Puranik (JIRA)
ltiple thread creation problem with AsyncAppender > --- > > Key: LOG4J2-314 > URL: https://issues.apache.org/jira/browse/LOG4J2-314 > Project: Log4j 2 > Issue Type: Question &

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

2013-07-23 Thread Sudharma Puranik (JIRA)
you can mark this as resolved. Thanks a lot for your help. > Multiple thread creation problem with AsyncAppender > --- > > Key: LOG4J2-314 > URL: https://issues.apache.org/

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

2013-07-23 Thread Remko Popma (JIRA)
[email protected]): Can I change the title of this Jira? I think the below may describe the issue better (and may help others with the same problem): _How to create multiple appenders at runtime, sharing an AsyncAppender?_ > Multiple thread creation problem with AsyncA

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

2013-07-23 Thread Remko Popma (JIRA)
the below may describe the issue better (and may help others with the same problem): _How to create multiple appenders at runtime, sharing an AsyncAppender?_ > Multiple thread creation problem with AsyncA

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

2013-07-23 Thread Remko Popma (JIRA)
the configuration simpler, uses only one thread, and is probably faster too. > Multiple thread creation problem with AsyncAppender > --- > > Key: LOG4J2-314 > URL: https://issues.apache.org

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

2013-07-23 Thread Sudharma Puranik (JIRA)
e to attain my routing in some way. Thank you. Also b.t.w can I have multiple AsyncAppenders ? does it have any side effect? > Multiple thread creation problem with AsyncAppender > --- > >

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

2013-07-21 Thread Sudharma Puranik (JIRA)
for your reply, I was about to do the same. let me try and update you.. > Multiple thread creation problem with AsyncAppender > --- > > Key: LOG4J2-314 > URL: https://issues.apache.org

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

2013-07-19 Thread Remko Popma (JIRA)
} %d{ISO8601} [%t] %p %c %L - %m%n %d{ISO8601} [%t] %p %c %L - %m%n {code}

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

2013-07-19 Thread Sudharma Puranik (JIRA)
to a log4j Configuration and we can add all other Appender to it but as of now there is no facility as such. We can avoid having multiple AsyncAppenders. I can check with the ThreadContextMap. > Multiple thread creation problem with AsyncA

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

2013-07-19 Thread Ralph Goers (JIRA)
and dynamic appender creation. But it may not completely solve for this use case. > Multiple thread creation problem with AsyncAppender > --- > > Key: LOG4J2-314 > URL: https://issues.apa

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

2013-07-19 Thread Scott Deboy (JIRA)
able implementation option here to avoid the scaling issue. > Multiple thread creation problem with AsyncAppender > --- > > Key: LOG4J2-314 > URL: https://issues.apache.org/jir

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

2013-07-19 Thread Remko Popma (JIRA)
er that logs to separate files, perhaps based on key-values pairs you can set in the ThreadContextMap. This would be similar to the SiftingAppender that LogBack provides. > Multiple thread creation problem with AsyncAppender > -

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

2013-07-19 Thread Sudharma Puranik (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sudharma Puranik updated LOG4J2-314: Attachment: TestAppender.zip > Multiple thread creation problem with AsyncAppen

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

2013-07-19 Thread Sudharma Puranik (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sudharma Puranik updated LOG4J2-314: Attachment: (was: TestAppender.zip) > Multiple thread creation problem w

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

2013-07-19 Thread Sudharma Puranik (JIRA)
/test.log.) > Multiple thread creation problem with AsyncAppender > --- > > Key: LOG4J2-314 > URL: https://issues.apache.org/jira/browse/LOG4J2-314 > Project: Log4j 2 >

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

2013-07-19 Thread Sudharma Puranik (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sudharma Puranik updated LOG4J2-314: Attachment: (was: TestAppender.zip) > Multiple thread creation problem w

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

2013-07-19 Thread Sudharma Puranik (JIRA)
/logs/test.log. > Multiple thread creation problem with AsyncAppender > --- > > Key: LOG4J2-314 > URL: https://issues.apache.org/jira/browse/LOG4J2-314 > Project: Log4j 2 >

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

2013-07-19 Thread Khanh Duong
-314) Multiple thread creation problem with AsyncAppender     [ https://issues.apache.org/jira/browse/LOG4J2-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13713341#comment-13713341 ] Remko Popma edited comment on LOG4J2-314 at 7/19/13

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

2013-07-18 Thread Sudharma Puranik (JIRA)
time. > Multiple thread creation problem with AsyncAppender > --- > > Key: LOG4J2-314 > URL: https://issues.apache.org/jira/browse/LOG4J2-314 > Project: Log4j 2 >

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

2013-07-18 Thread Remko Popma (JIRA)
you also show how you programmatically create the logging components? > Multiple thread creation problem with AsyncAppender > --- > > Key: LOG4J2-314 > URL: https://issues.apache.org

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

2013-07-18 Thread Remko Popma (JIRA)
you programmatically create the logging components? > Multiple thread creation problem with AsyncAppender > --- > > Key: LOG4J2-314 > URL: https://issues.apache.org/jira/browse/LOG4J2-314 >

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

2013-07-18 Thread Sudharma Puranik (JIRA)
log4j2.xml. > Multiple thread creation problem with AsyncAppender > --- > > Key: LOG4J2-314 > URL: https://issues.apache.org/jira/browse/LOG4J2-314 > Project: Log4j 2 >

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

2013-07-18 Thread Sudharma Puranik (JIRA)
asyncAppendThread.png attached is the log4j2.xml file > Multiple thread creation problem with AsyncAppender > --- > > Key: LOG4J2-314 > URL: https://issues.apache.org/jira/browse/LOG4J2-314 >

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

2013-07-18 Thread Sudharma Puranik (JIRA)
Sudharma Puranik created LOG4J2-314: --- Summary: Multiple thread creation problem with AsyncAppender Key: LOG4J2-314 URL: https://issues.apache.org/jira/browse/LOG4J2-314 Project: Log4j 2

Re: Multiple thread creation problem with AsyncAppender

2013-07-18 Thread Sudharma Puranik
Ok, I can do that. On Fri, Jul 19, 2013 at 4:05 AM, Remko Popma wrote: > I'd like to see your log4j.xml. Can you raise a Jira ticket and attach it? > > Sent from my iPhone > > On 2013/07/19, at 7:34, Remko Popma wrote: > > > Does your log4j2.xml also define an AsyncAppender? > > > > (Btw, what

Re: Multiple thread creation problem with AsyncAppender

2013-07-18 Thread Sudharma Puranik
Yes, log4j2.xml also defines a AsyncAppender but which is not mapped to any logger. Is there a way that I can get the asyncAppender from the xmlConfiguration and hook my RollingFileAppender? I did not find any such convenience. Why is handling of Appenders in log4j2 not straightforward? Or probabl

Re: Multiple thread creation problem with AsyncAppender

2013-07-18 Thread Remko Popma
I'd like to see your log4j.xml. Can you raise a Jira ticket and attach it? Sent from my iPhone On 2013/07/19, at 7:34, Remko Popma wrote: > Does your log4j2.xml also define an AsyncAppender? > > (Btw, what is a lakh?) > > Sent from my iPhone > > On 2013/07/19, at 0:31, Sudharma Puranik wro

Re: Multiple thread creation problem with AsyncAppender

2013-07-18 Thread Remko Popma
Does your log4j2.xml also define an AsyncAppender? (Btw, what is a lakh?) Sent from my iPhone On 2013/07/19, at 0:31, Sudharma Puranik wrote: > I have a log4j2.xml configuration file from which I am getting the Logger, > attached is the snapshot. when my logger is created a new thread is cre