print to log file and STDOUT