
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
windows xp, MSVC6 MSVC7.1
|
|
Issue Links:
|
Duplicate
|
|
|
|
This issue is duplicated by:
|
|
LOGCXX-28
Appender threshold cannot be set in configuration files
|
|
|
|
|
|
|
| Resolution Date: |
13/Aug/04 05:42 AM
|
|
the threshold of AppenderSkeleton can not be set by calling setOption.
thus ,the property of threshold in the derived classes of AppenderSkeleton can not properly configured by PropertyConfigurator or DOMConfigurator.
|
|
Description
|
the threshold of AppenderSkeleton can not be set by calling setOption.
thus ,the property of threshold in the derived classes of AppenderSkeleton can not properly configured by PropertyConfigurator or DOMConfigurator.
|
Show » |
|
rewrite AppenderSkeleton::setOption as following
#include <log4cxx/helpers/stringhelper.h>
void AppenderSkeleton::setOption(const String& name, const String& value){
if (StringHelper::equalsIgnoreCase(_T("threshold"), name)){
setThreshold(Level::toLevel(value,Level::ALL));
}
}