summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/log/Statement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/log/Statement.cpp')
-rw-r--r--cpp/src/qpid/log/Statement.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/cpp/src/qpid/log/Statement.cpp b/cpp/src/qpid/log/Statement.cpp
index 9ab314b81c..de130bc455 100644
--- a/cpp/src/qpid/log/Statement.cpp
+++ b/cpp/src/qpid/log/Statement.cpp
@@ -32,10 +32,6 @@ Statement::Initializer::Initializer(Statement& s) : statement(s) {
Logger::instance().add(s);
}
-Statement::Initializer::~Initializer() {
- Logger::instance().remove(statement);
-}
-
namespace {
const char* names[LevelTraits::COUNT] = {
"trace", "debug", "info", "notice", "warning", "error", "critical"