public class Twister2FileLogHandler
extends java.util.logging.Handler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APPEND |
static java.lang.String |
COUNT |
static java.lang.String |
ENCODING |
static java.lang.String |
FORMATTER |
static java.lang.String |
LEVEL |
static java.lang.String |
LIMIT |
static java.lang.String |
REDIRECT_SYS |
Constructor and Description |
---|
Twister2FileLogHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
void |
init(java.lang.String loggingDir,
java.lang.String workerId,
Config config) |
void |
publish(java.util.logging.LogRecord record) |
public static final java.lang.String LIMIT
public static final java.lang.String LEVEL
public static final java.lang.String COUNT
public static final java.lang.String APPEND
public static final java.lang.String ENCODING
public static final java.lang.String FORMATTER
public static final java.lang.String REDIRECT_SYS
public void init(java.lang.String loggingDir, java.lang.String workerId, Config config) throws java.io.IOException
java.io.IOException
public void publish(java.util.logging.LogRecord record)
publish
in class java.util.logging.Handler
public void flush()
flush
in class java.util.logging.Handler
public void close() throws java.lang.SecurityException
close
in class java.util.logging.Handler
java.lang.SecurityException