It's known that log4j has a good performance even 'on an AMD Duron clocked
at 800Mhz running JDK 1.3.1' machine.

If I have lot of appenders, for example, a socket appender, which will cost
0.1 second to communicate with the socket server, and there's still a file
appender in the system all the same.

My puzzle is that, will socket appender and file appender work at the same
time?
Or run socket appender first, and AFTER socket appender done, file appender
later.
And the system will hold on till all the appenders are invoked?

Might it can be explained in the below assumption codes.
Assumption
....
methodA();                      //(1)
logger.debug("hello,log4j")     //(2) hold on till all appenders are invoked
one by one?
methodB();                      //(3)
....

Best Regards
Xi Yuxiang
System Architect
Maveo Systems Limited - www.maveosystems.com
Email: [EMAIL PROTECTED] 

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

Reply via email to