Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.logging
Class FileStreamHandler

    java.lang.Object
      java.util.logging.Handler
          java.util.logging.StreamHandler
              com.bea.logging.RotatingFileStreamHandler
                  weblogic.logging.FileStreamHandler

    public final class FileStreamHandler

extends RotatingFileStreamHandler

A simple handler which outputs text messages to a log file. This handler is used for both the server and the domain logging. Supports rotation of the log file based on settings in the LogFileMBean. In development mode the log file is rotated by default on server startup. The default policy for log rotation is size-based.

See Also:
  `LogFileMBean`

Constructor Summary
`FileStreamHandler(weblogic.management.configuration.LogFileMBean logConfig)`
`FileStreamHandler(weblogic.management.configuration.LogMBean config)` Deprecated.

Method Summary

Methods inherited from class com.bea.logging.RotatingFileStreamHandler
`publish`

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`

Constructor Detail

### FileStreamHandler

    public FileStreamHandler(weblogic.management.configuration.LogMBean config)
                      throws IOException

  Deprecated.

  Constructor to intialize a FileStreamHandler instance.

  Parameters:
    `config` - The LogMBean which specifies the file location and rotation parameters for this handler.
  Throws:
    `IOException` - If the file could not be opened successfully.

### FileStreamHandler

    public FileStreamHandler(weblogic.management.configuration.LogFileMBean logConfig)
                      throws IOException

Throws:
  `IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, 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.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD