Hello everyone, I have a basic question: Is the execution of log4j blocking or nonblocking? Assume that I have the following code snippet logging a large string:
... Logger logger = Logger.getLogger(SomeClass.class); String s = <string containing 500000 characters>; logger.info(s); ... Is the logging operation delegated to another thread so that the caller thread continues to execute in a nonblocking way? Or is it blocking i.e the actual thread waits for the completion of logging operation. After seeing the *AsynchAppender, *I guess th**e logging operation is blocking in default case. And I would like a nonblocking loggin as described, so should I investigate AsynchAppender? I don't have much insight about the details of the log4j framework. Sorry if my questions are silly. Best, Suat
