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 with FORMAT = TEXT. For XML log files, the APPEND subcommand is ignored.
  • APPEND = YES with FORMAT = TEXT will append to an existing file, even if the existing file contains XML-format log information. (An XML file is a text file, and OMSLOG does not differentiate based on file extension or content.)
  • If the specified file does not exist, APPEND has no effect.