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 1996,2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Part Number E13941-01
Oracle WebLogic Server 10.3.1 API Reference