From 1e78859f4b0a4c8982451aa02002705b2c94ed60 Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Mon, 21 Jan 2008 16:57:16 +0000
Subject: [PATCH] Fixed a typo in the logger configuration manager that caused new log publishers to be added twice. 

---
 opends/src/server/org/opends/server/core/LoggerConfigManager.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/src/server/org/opends/server/core/LoggerConfigManager.java b/opends/src/server/org/opends/server/core/LoggerConfigManager.java
index 23cc5a6..e8d8d68 100644
--- a/opends/src/server/org/opends/server/core/LoggerConfigManager.java
+++ b/opends/src/server/org/opends/server/core/LoggerConfigManager.java
@@ -22,7 +22,7 @@
  * CDDL HEADER END
  *
  *
- *      Portions Copyright 2006-2007 Sun Microsystems, Inc.
+ *      Portions Copyright 2006-2008 Sun Microsystems, Inc.
  */
 package org.opends.server.core;
 import org.opends.messages.Message;
@@ -77,7 +77,7 @@
     RootCfg root = context.getRootConfiguration();
 
     root.addLogPublisherAddListener(this);
-    root.addLogPublisherAddListener(this);
+    root.addLogPublisherDeleteListener(this);
 
     List<DebugLogPublisherCfg> debugPublisherCfgs =
         new ArrayList<DebugLogPublisherCfg>();

--
Gitblit v1.10.0