public class IfsFileHandler extends IfsFileRotationHandler
IfsFileRotationHandlerIfsFileRotationHandler.MeteredStreamm_CurrentLogFile| Constructor and Description |
|---|
IfsFileHandler(String logFilePath,
int fileSizeLimit,
int maxFiles,
long rotationMillis)
Constructs a IfsFileHandler for logging.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
open(File logFile)
Open the specified file, creating it if it does not exist.
|
buildMeteredStream, checkFileRotation, publish, setupRotationLogging, startTimeBasedRotationclose, flush, isLoggable, setEncoding, setOutputStreamgetEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevelpublic IfsFileHandler(String logFilePath, int fileSizeLimit, int maxFiles, long rotationMillis) throws IOException
logFilePath - a String containing a path to the log file.fileSizeLimit - an int that contains the maximum file size
in bytes for a log file. 0 = no limit.maxFiles - an in containing the number of log files
to rotate though. 1 = no rotation.rotationMillis - a long containing how often to rotate
the log files in millis.IOException - if the operation failsprotected void open(File logFile) throws IOException
open in class IfsFileRotationHandlerlogFile - the File to open.IOException - if the operation failsCopyright © 2025. All rights reserved.