BEA Systems, Inc.

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

Deprecated. 10.0.1.0

public class RotatingFileStreamHandler
extends StreamHandler


Field Summary
protected  RotatingFileOutputStream rotatingStream
          Deprecated.  
 
Constructor Summary
RotatingFileStreamHandler()
          Deprecated.  
RotatingFileStreamHandler(LogFileConfigBean logFileConfig)
          Deprecated.  
 
Method Summary
 void forceRotation()
          Deprecated. Forcibly causes the log file to be rotated.
 long getLastTimerStartTime()
          Deprecated.  
 void initialize(LogFileConfigBean logFileConfig)
          Deprecated.  
 void initialize(LogFileConfigBean logFileConfig, boolean reinitialize)
          Deprecated.  
 void publish(LogRecord rec)
          Deprecated. Outputs the log record to the log file.
 void setSeverity(String severity)
          Deprecated.  
 
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
 

Field Detail

rotatingStream

protected RotatingFileOutputStream rotatingStream
Deprecated. 
Constructor Detail

RotatingFileStreamHandler

public RotatingFileStreamHandler()
                          throws IOException
Deprecated. 
Throws:
IOException

RotatingFileStreamHandler

public RotatingFileStreamHandler(LogFileConfigBean logFileConfig)
                          throws IOException
Deprecated. 
Throws:
IOException
Method Detail

publish

public void publish(LogRecord rec)
Deprecated. 
Outputs the log record to the 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 associated formatter. The default formatter for log entries in the file is LogFileFormatter.

Overrides:
publish in class StreamHandler
Parameters:
rec -

forceRotation

public void forceRotation()
                   throws IOException
Deprecated. 
Forcibly causes the log file to be rotated.

Throws:
IOException

setSeverity

public void setSeverity(String severity)
Deprecated. 

getLastTimerStartTime

public long getLastTimerStartTime()
Deprecated. 

initialize

public void initialize(LogFileConfigBean logFileConfig)
                throws IOException
Deprecated. 
Throws:
IOException

initialize

public void initialize(LogFileConfigBean logFileConfig,
                       boolean reinitialize)
                throws IOException
Deprecated. 
Throws:
IOException

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs100
Copyright 2006 BEA Systems Inc.