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

boli
23.30.2007 b0a7e3cf4a65ea95c79cf002596428d0aed2e26e
opends/src/server/org/opends/server/loggers/ZIPAction.java
@@ -33,8 +33,8 @@
import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream;
import static org.opends.server.loggers.debug.DebugLogger.debugCaught;
import static org.opends.server.loggers.debug.DebugLogger.debugEnabled;
import static org.opends.server.loggers.debug.DebugLogger.*;
import org.opends.server.loggers.debug.DebugTracer;
import org.opends.server.types.DebugLogLevel;
/**
@@ -43,6 +43,11 @@
 */
public class ZIPAction implements PostRotationAction
{
  /**
   * The tracer object for the debug logger.
   */
  private static final DebugTracer TRACER = getTracer();
  private File originalFile;
  private File newFile;
@@ -122,7 +127,7 @@
    {
      if (debugEnabled())
      {
        debugCaught(DebugLogLevel.ERROR, ioe);
        TRACER.debugCaught(DebugLogLevel.ERROR, ioe);
      }
      if (inputStreamOpen)
      {
@@ -134,7 +139,7 @@
        {
          if (debugEnabled())
          {
            debugCaught(DebugLogLevel.ERROR, fe);
            TRACER.debugCaught(DebugLogLevel.ERROR, fe);
          }
          // Cannot do much. Ignore.
        }
@@ -149,7 +154,7 @@
        {
          if (debugEnabled())
          {
            debugCaught(DebugLogLevel.ERROR, ze);
            TRACER.debugCaught(DebugLogLevel.ERROR, ze);
          }
          // Cannot do much. Ignore.
        }