Hi,
I got a problem with the asnychronous target. It always states it can not write to a closed stream. It does not override the processEvent method in AbstractTarget and therefore checks the isOpen flag! Does it need to? It can be overridden in AsyncLogTarget not to check, but to check if the consuming thread is running I patched it locally by setting the flag to true at the beginning of the run method of the AsyncLogTarget:
AsyncLogTarget:
public void run()
{
//set this variable when thread is interupted
//so we know we can shutdown thread soon.
boolean interupted = false;
+ open();
while( true )
Maybe someone can patch it?
Is there a need to set it back if the thread dies?
Michael
----------------------------------------- (on the network) ********************************* PRIVILEGED - PRIVATE AND CONFIDENTIAL This e-mail and files transmitted with it are intended solely for the use of the addressee(s) and may contain information which is confidential or privileged. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you receive this e-mail and you are not the addressee, or you have received this e-mail in error, please disregard the contents of the e-mail, delete the e-mail and notify the author immediately. *********************************
---------------------------------------------------------
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>