mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

boli
19.31.2008 94502a1fdf41451d43080e1596c7b491743039f2
opends/src/server/org/opends/server/loggers/ErrorLogger.java
@@ -27,8 +27,6 @@
package org.opends.server.loggers;
import org.opends.messages.Message;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.List;
import java.util.ArrayList;
@@ -76,14 +74,6 @@
  // The singleton instance of this class for configuration purposes.
  private static final ErrorLogger instance = new ErrorLogger();
  static
  {
    // Add the default publisher to stdout.
    addErrorLogPublisher(
        TextErrorLogPublisher.getStartupTextErrorPublisher(
            new TextWriter.STDOUT()));
  }
  /**
   * Retrieve the singleton instance of this class.
   *
@@ -138,19 +128,6 @@
  }
  /**
   * Removes first error log publisher from the logger.
   */
  public synchronized static void removeFirstErrorLogPublisher()
  {
    if(!errorPublishers.isEmpty())
    {
      ErrorLogPublisher publisher = errorPublishers.remove(0);
      publisher.close();
    }
  }
  /**
   * Initializes all the error log publishers.
   *
   * @param configs The error log publisher configurations.