|
Log Object |
|
See Also: |
The Log.Dir property sets/returns the directory containing the log file.
VBScript:
JScript:
| Log | The Log object. |
| strDir | A string indicating the new directory for the log file. A relative or absolute path can be used. |
When setting the Dir property, the strDir parameter may be an absolute path or a relative path. Relative paths are resolved using the previous Log.Dir value. The Path property is adjusted to fit the new directory. The Filename value is not changed.
For a list of valid path formats, see the Output.Path documentation.
When reading the Dir property, the complete directory path is returned.
The default value for Log.Dir is the directory containing the APG script. If APGen.LogDir is set, it is used as the default Log.Dir for child APG scripts.
This example sets the log file directory.
Log.Dir = "..\logfiles\"