You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by Michaël CATANZARITI <mc...@apache.org> on 2004/08/13 20:00:10 UTC
Re: [jira] Commented: (LOGCXX-12) the threshold of ApenderSkeleton
can not be set by calling setOption.
Hi,
The issue has been close, because the fix still existed in CVS
Please, check out the latest version,
Regards,
log4cxx-dev@logging.apache.org wrote:
> The following comment has been added to this issue:
>
> Author: Haohua Xie
> Created: Thu, 12 Aug 2004 11:57 PM
> Body:
> this is my resolution:
> 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));
> }
> }
> ---------------------------------------------------------------------
> View this comment:
> http://issues.apache.org/jira/browse/LOGCXX-12?page=comments#action_37236
>
> ---------------------------------------------------------------------
> View the issue:
> http://issues.apache.org/jira/browse/LOGCXX-12
>
> Here is an overview of the issue:
> ---------------------------------------------------------------------
> Key: LOGCXX-12
> Summary: the threshold of ApenderSkeleton can not be set by calling setOption.
> Type: Bug
>
> Status: Closed
> Priority: Minor
> Resolution: FIXED
>
> Project: Log4cxx
> Components:
> Appender
> Fix Fors:
> 0.9.8
> Versions:
> 0.9.7
>
> Assignee: Michaël CATANZARITI
> Reporter: Haohua Xie
>
> Created: Thu, 12 Aug 2004 7:18 PM
> Updated: Thu, 12 Aug 2004 11:57 PM
> Environment: windows xp, MSVC6 MSVC7.1
>
> 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.
>
>
>
> ---------------------------------------------------------------------
> JIRA INFORMATION:
> This message is automatically generated by JIRA.
>
> If you think it was sent incorrectly contact one of the administrators:
> http://issues.apache.org/jira/secure/Administrators.jspa
>
> If you want more information on JIRA, or have a bug to report see:
> http://www.atlassian.com/software/jira
>
>
>
--
Michaël CATANZARITI
log4cxx project manager
log4cxx user mailing list:
mailto:log4cxx-user-subscribe@logging.apache.org
log4cxx developer mailing list:
mailto:log4cxx-dev-subscribe@logging.apache.org