Hello Abhinay,

You should also have a look at SiftingAppender [1] which was specifically designed to deal with cases such as yours. Just one extra line of code at the start of your executor thread should be sufficient to address your problem. SiftingAppender will do all the heavy lifting for you.

I hope this helps.

abhinay wrote:
Hi there,

I am working on server which used thread pool to process each client request
by separate dedicated thread.

[snip]


--
Ceki Gülcü

[1] http://logback.qos.ch/manual/appenders.html#SiftingAppender

Ps. Abhinay, if you are interested to pursue this venue, please respond either to me directly or on the logback-user mailing list.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to