public class JenkinsPluginCustomFileHandler extends FileHandler
We have defined one file of size 1MB after which rollover of the file will happen
Modifier and Type | Field and Description |
---|---|
static int |
FILE_SIZE |
Constructor and Description |
---|
JenkinsPluginCustomFileHandler(String pattern) |
Modifier and Type | Method and Description |
---|---|
void |
publish(LogRecord record) |
close
flush, isLoggable, setEncoding, setOutputStream
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel
public static final int FILE_SIZE
public JenkinsPluginCustomFileHandler(String pattern) throws IOException, SecurityException
IOException
SecurityException
public void publish(LogRecord record)
publish
in class FileHandler
Copyright © 2016–2019. All rights reserved.