You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2011/05/02 16:52:30 UTC
svn commit: r1098606 - in
/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/logging:
Handler.cpp Handler.h
Author: tabish
Date: Mon May 2 14:52:30 2011
New Revision: 1098606
URL: http://svn.apache.org/viewvc?rev=1098606&view=rev
Log:
fix for: https://issues.apache.org/jira/browse/AMQCPP-369
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/logging/Handler.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/logging/Handler.h
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/logging/Handler.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/logging/Handler.cpp?rev=1098606&r1=1098605&r2=1098606&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/logging/Handler.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/logging/Handler.cpp Mon May 2 14:52:30 2011
@@ -28,11 +28,8 @@ using namespace decaf::util;
using namespace decaf::util::logging;
////////////////////////////////////////////////////////////////////////////////
-const Level Handler::DEFAULT_LEVEL = Level::ALL;
-
-////////////////////////////////////////////////////////////////////////////////
Handler::Handler() : formatter(NULL), filter(NULL), errorManager(new ErrorManager()),
- level(DEFAULT_LEVEL), prefix("Handler") {
+ level(Level::ALL), prefix("Handler") {
}
////////////////////////////////////////////////////////////////////////////////
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/logging/Handler.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/logging/Handler.h?rev=1098606&r1=1098605&r2=1098606&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/logging/Handler.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/logging/Handler.h Mon May 2 14:52:30 2011
@@ -49,9 +49,6 @@ namespace logging{
class DECAF_API Handler : public io::Closeable {
private:
- // Default Logging Level for Handler
- static const Level DEFAULT_LEVEL;
-
// Formats this Handlers output
Formatter* formatter;