Top Description Fields Constructors Methods
org.glassfish.grizzly.http.server.accesslog

public Class FileAppender

extends StreamAppender
Class Inheritance
Imports
java.io.File, .FileOutputStream, .IOException, java.util.logging.Logger, org.glassfish.grizzly.Grizzly, org.glassfish.grizzly.http.server.HttpServer

An appender writing log entries to Files.
Authors
Pier Fumagalli, USRZ.com

Field Summary

Modifier and TypeField and Description
private static final Logger

Constructor Summary

AccessConstructor and Description
public
FileAppender(File file)

Create a new FileAppender appending to (and not overwriting) the specified File.

public
FileAppender(File file, boolean
If true the file will be appended to, otherwise it will be completely overwritten.
append
)

Create a new FileAppender writing to the specified File.

Method Summary

Inherited from org.glassfish.grizzly.http.server.accesslog.StreamAppender:
appendclose

Field Detail

LOGGERback to summary
private static final Logger LOGGER

Constructor Detail

FileAppenderback to summary
public FileAppender(File file) throws IOException

Create a new FileAppender appending to (and not overwriting) the specified File.

Exceptions
IOException:
If an I/O error occurred opening the file.
FileAppenderback to summary
public FileAppender(File file, boolean append) throws IOException

Create a new FileAppender writing to the specified File.

Parameters
append:boolean

If true the file will be appended to, otherwise it will be completely overwritten.

Exceptions
IOException:
If an I/O error occurred opening the file.