Package org.jumpmind.symmetric.wrapper
Class WrapperLogHandler
java.lang.Object
java.util.logging.Handler
java.util.logging.StreamHandler
org.jumpmind.symmetric.wrapper.WrapperLogHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected long
protected ScheduledExecutorService
protected String
protected long
protected int
protected BufferedWriter
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.logging.StreamHandler
isLoggable, setEncoding, setOutputStream
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel
-
Field Details
-
filename
-
maxByteCount
protected long maxByteCount -
maxLogCount
protected int maxLogCount -
writer
-
byteCount
protected long byteCount -
executor
-
-
Constructor Details
-
WrapperLogHandler
- Throws:
IOException
-
-
Method Details
-
rotate
- Throws:
IOException
-
publish
- Overrides:
publish
in classStreamHandler
-
flush
public void flush()- Overrides:
flush
in classStreamHandler
-
close
- Overrides:
close
in classStreamHandler
- Throws:
SecurityException
-