The log message format to use. All properties of a log message can be inserted to their placeholders, e.g. '%id%'.
The time format to use for the %time% placeholder. The time format is inspired by https://msdn.microsoft.com/de-de/library/8kb3ddd4(v=vs.110).aspx, but some of the placeholders might not work.
Optional
formatLookups: FormatLookupmap containing lookups for the printing of formatted messages, see DefaultFormats
map containing the options specifically for the file appender. fileNamePattern defaults to ''; fileExtension defaults to '.log'; targetPath defaults to the current working directory; acceptExistingFile defaults to false; maxFileSize defaults to 1000000000; backupCompression defaults to BackupCompressionMode.GZIP; syntax defaults to FileAppenderSyntax.PLAIN; pretty defaults to false; dateRollover defaults to false; deferredStart defaults to false;
Protected
_activeThe flag indicating the activation state.
Protected
_appendingFlag indicating that the log file currently is written.
Protected
_backingFlag indicating that the log file currently is backed up.
Protected
_bufferA buffer that will be filled with log messages until the Appender is writable.
Protected
_currentStores the currently used file name of the log file. This will be recalculated in case of date rollovers.
Protected
_currentStores the currently used target path.
Protected
_failedFlag indicating, that writing to the log file failed.
Protected
_fileThe file handle opened for appending the log entries.
Protected
_fileFlag indicating whether the file name pattern already contains a placeholder for the instance counter.
Protected
_fileUsed internally for buffering contents to be written to the file.
The relation, to which all the appenders results must adhere. See FilterRelation.
Protected
_filtersThe filter that will be evaluated in order to determine whether a message shall be handled by this appender.
Protected
_instanceThe, by existing log files, determined instance id that will be issued if a placeholder is present in the file name pattern, or if existing files shall not be overridden, or if the log file is not writable. The value will be preserved in case of date or file size rollovers.
Protected
_instanceTimestamp when starting the current process.
Protected
_nextThe point in time when the file name shall be re-evaluated and a date rollover is to be performed Currently, this property is set but ignored.
Protected
_sizeThe current file size
Protected
_writableThe writable flag of the appender.
Protected
acceptSets the Appender to append logs to an existing log file on startup if it already exists. See FileAppenderOptions#acceptExistingFile.
Protected
ageProtected
backupThe backup compression mode. See FileAppenderOptions#backupCompression.
Protected
dateWhether to re-determine the file name at 00:00h when the date changes. See FileAppenderOptions#dateRollover. Currently, this feature is not supported.
Protected
dayProtected
deferredWhether the appender shall immediately create its file handle on instanciation. If set to true, clients habe to activate it explicitly.
Protected
fileThe file extension that is being appended to the file name, should start with period (.). See FileAppenderOptions#fileExtension.
Protected
fileThe name pattern of the log file. See FileAppenderOptions#fileNamePattern.
Protected
formatThe log message format to use. All properties of a log message can be inserted to their placeholders, e.g. '%id%'.
Protected
maxThe maximum log file size. If exceeded, a backup will be created. Defaults to 1GB See FileAppenderOptions#maxFileSize.
Protected
monthProtected
noonProtected
prettyWhether to print pretty XML and JSON. See FileAppenderOptions#pretty.
Protected
separatorProtected
severityA simple lookup from where the strings for the severity levels can be fetched. see DefaultFormats.ENUMS.SEVERITY
Protected
syntaxThe write syntax mode. See FileAppenderOptions#syntax.
Protected
targetThe path to generate the log files to. See FileAppenderOptions#targetPath.
Protected
timeThe time format to use for the %time% placeholder. The time format is inspired by https://msdn.microsoft.com/de-de/library/8kb3ddd4(v=vs.110).aspx, but some of the placeholders might not work.
Protected
_backupProtected
_compressProtected
_flushProtected
_fs_Protected
_fs_Protected
_fs_Protected
_fs_Protected
_fs_Protected
_fs_Protected
_fs_Protected
_fs_Protected
_handleProtected
_handleTransforms the message object according to the format string and forwards the result to the append method.
Protected
_handleProtected
evalEvaluates the message with respect to the message filters set.
The message to evaluate.
True, if the message matches the filters, false otherwise.
Protected
getProtected
getProtected
getthe options object for the formatTimeString method.
Protected
getProtected
openProtected
pauseApplies the message format string to the given log message.
The formatted message string.
Processes the log message parameters in order to replace the placeholders in the message string.
The processed message string with inserted message parameters.
Applies the time format to the given log message.
The formatted message time string
Protected
pushPushes a message to the message cache. The buffer is only intended to act as a temporary store until an appender enables its writable state.
Similar to receiveMessage, except the filters are not evaluated.
The message to receive and append.
The input function of an Appender for any log message. This function calls the filter evaluation, and hands the message over to the _handleMessage method, if the appender is currently writable. If the appender is not writable, the message is stored to the internal buffer.
The message that shall be received and appended.
True, if the message was handled, false otherwise.
Protected
resumeProtected
set
The file appender appends log messages to a file.
Version
1