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

boli
19.31.2008 94502a1fdf41451d43080e1596c7b491743039f2
opends/src/server/org/opends/server/loggers/debug/DebugLogger.java
@@ -93,14 +93,6 @@
  // The singleton instance of this class for configuration purposes.
  static final DebugLogger instance = new DebugLogger();
  static
  {
    // Add the default publisher to stdout.
    addDebugLogPublisher(
        TextDebugLogPublisher.getStartupTextDebugPublisher(
            new TextWriter.STDOUT()));
  }
  /**
   * Add an debug log publisher to the debug logger.
   *
@@ -160,26 +152,6 @@
  }
  /**
   * Removes first debug log publisher from the logger.
   */
  public synchronized static void removeFirstDebugLogPublisher()
  {
    if(!debugPublishers.isEmpty())
    {
      DebugLogPublisher publisher = debugPublishers.remove(0);
      publisher.close();
    }
    updateTracerSettings();
    if(debugPublishers.isEmpty())
    {
      enabled = false;
    }
  }
  /**
   * Initializes all the debug log publishers.
   *
   * @param  configs The debug log publisher configurations.