Hi all,
 
I am writing to ask for the solution to consolidate all logging event from all 
threads (managed by Java 5 threadPoolExecutor) into one e-mail alert, which 
will be sent in 15-minute time interval. I've finished the batch e-mail 
submission part (By implementing my own EvaluatorClass and 
mailAppender[extending SMTPAppender]). However, it just works under 
single-threaded environment (One e-mail @ single-threaded env, but still 
multiple e-mail @ multi-threaded env).
 
Through debugging the application, I found that the logging event from 
different thread will have their own set of SMPT appender instance, i.e. no 
centralized cyclic buffer to store all logging event from all threads.
 
Anyone who has experience to develop batch e-mail alert under multi-threaded 
environment?
 
Thanks a lot.
 
Jessie
_________________________________________________________________
下載 Windows Live Messenger 9.0,多元溝通、盡情分享,和即時傳訊好友線上同樂!— 立即下載
http://download.live.com/messenger

Reply via email to