diff -ur log4cxx-0.9.7/include/log4cxx/appenderskeleton.h log4cxx-0.9.7-local/include/log4cxx/appenderskeleton.h --- log4cxx-0.9.7/include/log4cxx/appenderskeleton.h 2004-05-10 14:38:24.000000000 +0200 +++ log4cxx-0.9.7-local/include/log4cxx/appenderskeleton.h 2004-10-20 16:49:04.000000000 +0200 @@ -84,7 +84,7 @@ requires it. */ void activateOptions() {} - void setOption(const String& name, const String& value) {} + void setOption(const String& name, const String& value); /** Add a filter to end of the filter list. diff -ur log4cxx-0.9.7/src/appenderskeleton.cpp log4cxx-0.9.7-local/src/appenderskeleton.cpp --- log4cxx-0.9.7/src/appenderskeleton.cpp 2004-05-10 14:37:22.000000000 +0200 +++ log4cxx-0.9.7-local/src/appenderskeleton.cpp 2004-10-20 17:09:40.000000000 +0200 @@ -16,6 +16,8 @@ #include #include +#include +#include #include #include #include @@ -121,3 +123,11 @@ { this->threshold = threshold; } + +void AppenderSkeleton::setOption(const String& option, const String& value) +{ + if (StringHelper::equalsIgnoreCase(option, _T("threshold"))) + { + threshold = OptionConverter::toLevel(value, Level::DEBUG); + } +}