ault.
How about this then:
{code}
{code}
> Multiple thread creation problem with AsyncAppender
> ---
>
> Key: LOG4J2-314
>
y is becomes the default.
How about this then:
{code}
{code}
> Multiple thread creation problem with AsyncAppender
> ---
>
>
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
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
{code}
If that does not work, can you try {{key="ROUTING_APPENDER_DEFAULT"}}?
Like this:
{code}
{code}
> Multiple thread creation problem with AsyncAppender
> -
ltiple thread creation problem with AsyncAppender
> ---
>
> Key: LOG4J2-314
> URL: https://issues.apache.org/jira/browse/LOG4J2-314
> Project: Log4j 2
> Issue Type: Question
&
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/
[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
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
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
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
> ---
>
>
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
}
%d{ISO8601} [%t] %p %c %L - %m%n
%d{ISO8601} [%t] %p %c %L - %m%n
{code}
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
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
able implementation option here to
avoid the scaling issue.
> Multiple thread creation problem with AsyncAppender
> ---
>
> Key: LOG4J2-314
> URL: https://issues.apache.org/jir
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
> -
[
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
[
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
/test.log.)
> Multiple thread creation problem with AsyncAppender
> ---
>
> Key: LOG4J2-314
> URL: https://issues.apache.org/jira/browse/LOG4J2-314
> Project: Log4j 2
>
[
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
/logs/test.log.
> Multiple thread creation problem with AsyncAppender
> ---
>
> Key: LOG4J2-314
> URL: https://issues.apache.org/jira/browse/LOG4J2-314
> Project: Log4j 2
>
-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
time.
> Multiple thread creation problem with AsyncAppender
> ---
>
> Key: LOG4J2-314
> URL: https://issues.apache.org/jira/browse/LOG4J2-314
> Project: Log4j 2
>
you also show how you programmatically create the logging
components?
> Multiple thread creation problem with AsyncAppender
> ---
>
> Key: LOG4J2-314
> URL: https://issues.apache.org
you programmatically create the logging
components?
> Multiple thread creation problem with AsyncAppender
> ---
>
> Key: LOG4J2-314
> URL: https://issues.apache.org/jira/browse/LOG4J2-314
>
log4j2.xml.
> Multiple thread creation problem with AsyncAppender
> ---
>
> Key: LOG4J2-314
> URL: https://issues.apache.org/jira/browse/LOG4J2-314
> Project: Log4j 2
>
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
>
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
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
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
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
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
33 matches
Mail list logo