Hi,
We have a multi-threaded application that makes simultaneous http GET & POST
to the web-server. We use log4j to capture httpclient.wire traces and log
them in diiferent files (one file per thread). However, running in
multi-threaded mode, the httpclient.wire logs from one thread gets mixed up
from other thread. We also have test logs that we use and they work
perfectly fine. Its just when we try to capture httpclient.wire logs, we get
this error. I was not sure if this question would be apt for this forum or
log4j forum, but since the tests logs are captured properly, I would assume
it to be a httpclient.wire issue.
The way we instantiate the capturing of logs in the constructor:
LogManager.getLoggerRepository().getLogger("httpclient.wire").setLevel(Level.DEBUG);
Let me know if there is any more info that I can provide to help you in
helping me debugging this issue :)
-Mikkin
--
View this message in context:
http://www.nabble.com/mix-logs-when-capturing-httpclient.wire-traces-in-multi-threaded-application-tp24397094p24397094.html
Sent from the HttpClient-User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]