Extended errx.tcl to allow setting a logfile as an alternative to syslog