Is logging operation blocking or nonblocking?

2013-01-03 Thread Suat Gönül
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 50 characters; logger.info(s); ... Is the

Re: Is logging operation blocking or nonblocking?

2013-01-03 Thread Ralph Goers
On Jan 3, 2013, at 9:58 PM, Suat Gönül wrote: 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