Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Specifies the command logging file. The command log file is where all Shogun all Shogun Post command feedback gets saved.

...

Scroll tablelayout
style
sortDirectionASC
repeatTableHeadersdefault
widths10%, 12%, 13%, 65%
style
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

NameTypeRequiredComments
pathstringnoThe full path to the log file. If you do not specify this, the command log will default to being CommandLog.log in the Logs folder in your Shogun yourShogun Post directory.

Flags

Scroll tablelayout
style
sortDirectionASC
repeatTableHeadersdefault
widths16%, 15%, 14%, 13%, 42%
style
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

NameFlag argumentsArgument typeExclusive toComments
noFeedback0Prevents the new log path from being echoed to the command log.
autoName0Automatically names the log based on the current time and the computer name that Shogun thatShogun Post is running on. Useful when setting up your own farming system and want to identify a command log with a machine and a script execution.

Return value

void

Examples

Code Block
languagetext
// Automatically set the log file, which will be put

...


// in the Shogun Post app folder, under the Logs folder.

...


setLogFile -autoName;

...


 

...

// Set it to something very specific

...


setLogFile "c:/mylogfile.log";

Additional information

Related commands

...