Package com.sun.enterprise.web.logger
Class FileLoggerHandler
- java.lang.Object
-
- java.util.logging.Handler
-
- com.sun.enterprise.web.logger.FileLoggerHandler
-
public class FileLoggerHandler extends Handler
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
associate()
Increment the associations and return the result.void
close()
Called to close this log handler.int
disassociate()
Decrement the associations and return the result.void
flush()
Called to flush any cached data that this log handler may contain.String
getLogFile()
Return location of log file associated to this handler.boolean
isAssociated()
void
publish(LogRecord record)
Overridden method used to capture log entries-
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
-
-
-
-
Method Detail
-
associate
public int associate()
Increment the associations and return the result.
-
disassociate
public int disassociate()
Decrement the associations and return the result.
-
isAssociated
public boolean isAssociated()
-
publish
public void publish(LogRecord record)
Overridden method used to capture log entries
-
flush
public void flush()
Called to flush any cached data that this log handler may contain.
-
getLogFile
public String getLogFile()
Return location of log file associated to this handler.
-
-