rice.environment.logging.file
Class RotatingLogManager
java.lang.Object
rice.environment.logging.AbstractLogManager
rice.environment.logging.file.RotatingLogManager
-
All Implemented Interfaces:
- LogManager
-
public class RotatingLogManager
- extends AbstractLogManager
- Author:
- jstewart
Fields inherited from class rice.environment.logging.AbstractLogManager |
dateFormat, dateFormatter, enabled, loggers, nullPrintStream, packageOnly, params, prefix, ps, SYSTEM_ERR, SYSTEM_OUT, time |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rotateTask
protected TimerTask rotateTask
sizeRotateTask
protected TimerTask sizeRotateTask
RotatingLogManager
public RotatingLogManager(TimeSource timeSource,
Parameters params)
RotatingLogManager
public RotatingLogManager(TimeSource timeSource,
Parameters params,
java.lang.String prefix,
java.lang.String dateFormat)
- Parameters:
-
timeSource
- -
params
- -
prefix
-
startRotateTask
public void startRotateTask(SelectorManager sm)
-
cancelRotateTask
public void cancelRotateTask()
-
getPrintStream
public java.io.PrintStream getPrintStream()
-
- Overrides:
-
getPrintStream
in class AbstractLogManager
-
constructLogger
protected Logger constructLogger(java.lang.String clazz,
int level,
boolean useDefault)
-
- Specified by:
-
constructLogger
in class AbstractLogManager
-
Copyright © 2001-2005 - Rice Pastry.