| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Portions Copyright 2006 Sun Microsystems, Inc. |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.loggers; |
| | | |
| | |
| | | import org.opends.server.api.DirectoryThread; |
| | | import org.opends.server.config.ConfigEntry; |
| | | |
| | | import static org.opends.server.loggers.Debug.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.debugCought; |
| | | import static org.opends.server.loggers.debug.DebugLogger.debugEnabled; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | |
| | | /** |
| | | * This thread is spawned off at the time of file rotation to |
| | |
| | | public class RotationActionThread extends DirectoryThread |
| | | { |
| | | |
| | | private static final String CLASS_NAME = |
| | | "org.opends.server.loggers.RotationActionThread"; |
| | | |
| | | private ArrayList<ActionType> actions; |
| | | private String filename; |
| | | private ConfigEntry configEntry; |
| | |
| | | } |
| | | } catch(Exception e) |
| | | { |
| | | assert debugException(CLASS_NAME, "run", e); |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | } |
| | | } |
| | | } |
| | | |