Show TOC Start of Content Area

Background documentation LOGFILE / LF Locate the document in its SAP Library structure

Syntax

LOGFILE

Syntax

logfile | lf [-m <mode>] [-f <file>] [--append] [--sysout]

Arguments

 

[-m <mode>]

The mode of logging to file. Can take value:

      on

      off

[-f <file>]

File to use for logging. You can use the full or relative path. Use slash (/ )as the file separator.

[--append]

Choose this option if you want to append all new output to the specified file, otherwise the file will be overwritten if it exists.

[--sysout]

With this option, the CMS tool will log to console even if logging to file is enabled.

Description

By default, the CMS tool will print all results and necessary information about the execution of a command. With this command, you can change this default output and print all information to a specified log file.

Example

logfile -m on -f myLog.txt --append

End of Content Area