Project | WXT | Basics | Download | Documentation | Samples

Script: logfile-element

The logfile-element must be contained in a definitions element. A definitions element may contain one logfile element.

<logfile location=""/>
location(mandatory) URI to file which is absolute or relative to the script. location is corrected for pathfragments.
maxlog(optional) The max length of the logfile. Default is 100000 chars. A value of 0 will erase the log between each job.

Examples:

<logfile location="log.txt" maxlog="0"/>
<logfile location="log.txt" maxlog="50000"/>
<logfile location="log.txt">