public class AccessLogFileHandler extends FileHandler
AccessLogFormatter by default. Also
useful in configuration files to differentiate from the
FileHandler.| Constructor and Description |
|---|
AccessLogFileHandler()
Constructor.
|
AccessLogFileHandler(String pattern)
Constructor.
|
AccessLogFileHandler(String pattern,
boolean append)
Constructor.
|
AccessLogFileHandler(String pattern,
int limit,
int count)
Constructor.
|
AccessLogFileHandler(String pattern,
int limit,
int count,
boolean append)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
init()
Initialization code common to all constructors.
|
close, publishflush, isLoggable, setEncoding, setOutputStreamgetEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevelpublic AccessLogFileHandler()
throws IOException,
SecurityException
IOExceptionSecurityExceptionpublic AccessLogFileHandler(String pattern) throws IOException, SecurityException
pattern - The name of the output file.IOExceptionSecurityExceptionpublic AccessLogFileHandler(String pattern, boolean append) throws IOException, SecurityException
pattern - The name of the output file.append - Specifies append mode.IOExceptionSecurityExceptionpublic AccessLogFileHandler(String pattern, int limit, int count) throws IOException, 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.IOExceptionSecurityExceptionpublic AccessLogFileHandler(String pattern, int limit, int count, boolean append) throws IOException, 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.IOExceptionSecurityExceptionCopyright © 2005–2025. All rights reserved.