|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.logging.Handler
java.util.logging.StreamHandler
java.util.logging.FileHandler
com.noelios.restlet.util.AccessLogFileHandler
public class AccessLogFileHandler
Log file handler that uses the AccessLogFormatter
by default. Also
useful in configuration files to differentiate from the
java.util.logging.FileHandler.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
protected void |
init()
Initialization code common to all constructors. |
Methods inherited from class java.util.logging.FileHandler |
---|
close, publish |
Methods inherited from class java.util.logging.StreamHandler |
---|
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 |
---|
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
Method Detail |
---|
protected void init()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |