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 ca...@apache.org on 2007/11/19 20:14:57 UTC
svn commit: r596399 -
/logging/log4cxx/trunk/src/test/cpp/propertyconfiguratortest.cpp
Author: carnold
Date: Mon Nov 19 11:14:56 2007
New Revision: 596399
URL: http://svn.apache.org/viewvc?rev=596399&view=rev
Log:
LOGCXX-207: Forgot LOG4CXX_STR on string literal
Modified:
logging/log4cxx/trunk/src/test/cpp/propertyconfiguratortest.cpp
Modified: logging/log4cxx/trunk/src/test/cpp/propertyconfiguratortest.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/test/cpp/propertyconfiguratortest.cpp?rev=596399&r1=596398&r2=596399&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/test/cpp/propertyconfiguratortest.cpp (original)
+++ logging/log4cxx/trunk/src/test/cpp/propertyconfiguratortest.cpp Mon Nov 19 11:14:56 2007
@@ -73,7 +73,7 @@
props.put(LOG4CXX_STR("log4j.appender.VECTOR1.threshold"), LOG4CXX_STR("WARN"));
PropertyConfigurator::configure(props);
LoggerPtr root(Logger::getRootLogger());
- VectorAppenderPtr appender(root->getAppender("VECTOR1"));
+ VectorAppenderPtr appender(root->getAppender(LOG4CXX_STR("VECTOR1")));
CPPUNIT_ASSERT_EQUAL((int) Level::WARN_INT, appender->getThreshold()->toInt());
LOG4CXX_INFO(root, "Info message");
LOG4CXX_WARN(root, "Warn message");