in reply to how do i redirect STDOUT, STDIN, or STDERR to a FILE?
open(STDERR, ">log.txt") [download]