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

pgamba
12.37.2008 726c26d903f0ac6989d9385954256de3beda54b1
opendj-sdk/opends/src/server/org/opends/server/loggers/TimeLimitRotationPolicy.java
@@ -32,8 +32,6 @@
import org.opends.server.admin.server.ConfigurationChangeListener;
import org.opends.server.types.ConfigChangeResult;
import org.opends.server.types.ResultCode;
import static org.opends.server.loggers.debug.DebugLogger.*;
import org.opends.server.loggers.debug.DebugTracer;
import java.util.List;
@@ -47,11 +45,6 @@
    RotationPolicy<TimeLimitLogRotationPolicyCfg>,
    ConfigurationChangeListener<TimeLimitLogRotationPolicyCfg>
{
  /**
   * The tracer object for the debug logger.
   */
  private static final DebugTracer TRACER = getTracer();
  private long timeInterval = 0;
  /**
@@ -103,13 +96,6 @@
    long currInterval = TimeThread.getTime() -
        writer.getLastRotationTime().getTimeInMillis();
    if (debugEnabled())
    {
      TRACER.debugInfo("Last rotation occurred %ds ago. " +
          "Next rotation in %ds", currInterval / 1000,
                                   (timeInterval - currInterval)/1000);
    }
    return currInterval > timeInterval;
  }