Class RotatingFileStreamHandler

  extended by java.util.logging.Handler
      extended by java.util.logging.StreamHandler
          extended by com.bea.logging.RotatingFileStreamHandler
Direct Known Subclasses:

public class RotatingFileStreamHandler
extends StreamHandler

Handler that writes to a file and rotates it based on configuration.

Method Summary
 void publish(LogRecord rec)
          Outputs the log record to a rotating log file.
Methods inherited from class java.util.logging.StreamHandler
close, flush, isLoggable, setEncoding, setOutputStream
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail


public void publish(LogRecord rec)
Outputs the log record to a rotating log file. If the log file needs rotation, the file is rotated first before writing the log to the file. The format of the log record is controlled by the Log file formatter.

publish in class StreamHandler
rec -

Documentation is available at
Copyright 2008 Oracle