|
Category
Settings
Description
Path and name of a text file in which to save all log output produced during a run
Notes
If SaveLogAs is specified, everything that would appear in the Log window while the script runs is also written to the specified file. This works in any run mode, including command line mode runs where no log window exists.
The file is created empty when the run starts and is complete when the run ends, so it always holds the output of exactly one run. A new run of the same script overwrites it without confirmation. When an optimization is run in multiple shards, each shard child writes its own copy of the file with the shard number appended to the name, as with ResultsFile.
When TestOutput: Log is enabled for a test, the per-trade detail continues to go to that test's own TEST_nnnn.TXT file and is not duplicated; the SaveLogAs file receives only what the Log window itself shows.
Trade list import warnings (symbol not found, delisted symbol replaced, dates that fall on non-trading days, out-of-range trades) are logged whenever SaveLogAs is specified. Previously these warnings appeared only with TestOutput: Log or during order runs, so this setting is an easy way for automated order workflows to detect symbol changes or unusable trade list rows.
Log output produced between runs (for example Data > Log Data Info) goes to the Log window only.
Unlike some Scan and Test Settings, there is no Settings Panel equivalent for this particular option and the setting does not persist.
See File Path Syntax for helpful tips including special path expansion variables.
|