From: Sylvain B. <syl...@la...> - 2011-06-28 07:34:03
|
Hi, I'm using log4cplus-1.0.4 with socket and file appender. My application is a web server. When the application received many request, log4cplus lock the application at line 160 in "appenderattachableimpl.cxx" : int AppenderAttachableImpl::appendLoopOnAppenders(const spi::InternalLoggingEvent& event) const { int count = 0; LOG4CPLUS_BEGIN_SYNCHRONIZE_ON_MUTEX( appender_list_mutex ) for(ListType::const_iterator it=appenderList.begin(); it!=appenderList.end(); ++it) Is it a bug or a bad system configuration (not enough shared memory, etc.) ? Thanks, Ruddy32 |