Hi Oleg,

Why do not you simply use Log4J or similar logging toolkit to output the
name of the thread that generated the logging event?

What I needed was not simply grepping a log file, but capture the wire output internally and set it into the session of the user, so that I could go to another page (assuming I am that session owner) and see what went on.

But this is doable with the discussed custom Factory and Logger. All I need is logger that internally also keeps say a threadlocal ArrayList of the output. Since I know the name I can ask for the Logger instance and retrieve the output after everything is done.

In my opinion this kind of functionality falls into the responsibility
of the underlying logging toolkit, not HttpClient

I agree as I mentioned to Roland, I think this is the better approach too.

Oleg

Thank you.

Lars

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to