Skip to content

GeoProcessor / Command / StartLog


Overview

The StartLog command (re)starts the log file. It is useful to insert this command as the first command in a command file, in order to persistently record the results of processing. A useful standard is to name the log file the same as the command file, with an additional .log extension, and this convention is enforced by default.

Command Editor

The following dialog is used to edit the command and illustrates the command syntax.

StartLog

StartLog Command Editor (see full-size image)

Command Syntax

The command syntax is as follows:

StartLog(Parameter="Value",...)

Command Parameters

Parameter                           Description Default          
LogFile
required
The name of the file to write. Can be specified using ${Property}. None - must be specified.

Examples

See the automated tests.

Troubleshooting

See Also

  • Message command - can be used to write messages to the log file