Hi,

The issue has been close, because the fix still existed in CVS
Please, check out the latest version,

Regards,

[email protected] 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:[EMAIL PROTECTED]

        log4cxx developer mailing list:
        mailto:[EMAIL PROTECTED]

Reply via email to