public class AccessLogFileHandler
extends java.util.logging.FileHandler
AccessLogFormatter
by default. Also
useful in configuration files to differentiate from the
FileHandler
.Constructor and Description |
---|
AccessLogFileHandler()
Constructor.
|
AccessLogFileHandler(java.lang.String pattern)
Constructor.
|
AccessLogFileHandler(java.lang.String pattern,
boolean append)
Constructor.
|
AccessLogFileHandler(java.lang.String pattern,
int limit,
int count)
Constructor.
|
AccessLogFileHandler(java.lang.String pattern,
int limit,
int count,
boolean append)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
init()
Initialization code common to all constructors.
|
flush, isLoggable, setEncoding, setOutputStream
public AccessLogFileHandler() throws java.io.IOException, java.lang.SecurityException
java.io.IOException
java.lang.SecurityException
public AccessLogFileHandler(java.lang.String pattern) throws java.io.IOException, java.lang.SecurityException
pattern
- The name of the output file.java.io.IOException
java.lang.SecurityException
public AccessLogFileHandler(java.lang.String pattern, boolean append) throws java.io.IOException, java.lang.SecurityException
pattern
- The name of the output file.append
- Specifies append mode.java.io.IOException
java.lang.SecurityException
public AccessLogFileHandler(java.lang.String pattern, int limit, int count) throws java.io.IOException, java.lang.SecurityException
pattern
- The name of the output file.limit
- The maximum number of bytes to write to any one file.count
- The number of files to use.java.io.IOException
java.lang.SecurityException
public AccessLogFileHandler(java.lang.String pattern, int limit, int count, boolean append) throws java.io.IOException, java.lang.SecurityException
pattern
- The name of the output file.limit
- The maximum number of bytes to write to any one file.count
- The number of files to use.append
- Specifies append mode.java.io.IOException
java.lang.SecurityException
Copyright © 2005-2020 Restlet.