|
Log Object |
|
See Also: |
The Log.Filename property sets/returns the filename of the log file.
VBScript:
JScript:
| Log | The Log object. |
| strFilename | A string indicating the new filename of the log file. A relative or absolute path can be used. |
This property is similar to the Output.Filename property, except that it applies to a log file instead of an output file. See the Output.Path topic for information on path syntax.
The default log file path is the APG script path, with a ".log" extension. The default log directory can be set for all sibling APG scripts using APGen.LogDir. If the default log directory is changed, the default log filename will still be the filename of the APG script, with file extension ".log".
This example changes the name of the log file to "site.log".
Log.Filename = "site.log"