redirect all output to log files