You can use the following commands to create a logfile:

@error, @serror; for errors
Open, writeline, close ; to create a logfile
or Redirectoutput

_________________________
Co