Multithreading using log4j
Java
1
Posts
1
Posters
0
Views
1
Watching
-
Suppose I have a multithreaded application which is using log4j and there are three threads t1,t2and t3 running and calling the same logging function passing a message aolng with threadID, for instance log.info("info message"). So how does log4j handles this. Please let me know how does log4j synchronizes these threads so that only one thread runs at a times. Were does this synchronization takes place. THANKS.