Oracle Fusion Middleware
Oracle WebLogic Server API Reference
12c Release 1 (12.1.1)

Part Number E24391-02

com.bea.logging
Class RotatingFileStreamHandler

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

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

publish

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.

Overrides:
publish in class StreamHandler
Parameters:
rec -

Copyright 1996, 2011, 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.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
12c Release 1 (12.1.1)

Part Number E24391-02