APPEND Subcommand (OMSLOG command)
If the FILE
subcommand specifies an existing file, by default the file is overwritten.
For text format log files, you can use the APPEND
subcommand to append new logging information to
the file instead of overwriting.
Example
OMSLOG FILE = '/mydir/mylog.txt'
/APPEND = YES
/FORMAT = TEXT.
-
APPEND = YES
is only valid withFORMAT = TEXT
. For XML log files, theAPPEND
subcommand is ignored. -
APPEND = YES
withFORMAT = TEXT
will append to an existing file, even if the existing file contains XML-format log information. (An XML file is a text file, andOMSLOG
does not differentiate based on file extension or content.) - If the specified file does not exist,
APPEND
has no effect.