Redirect stderr to log file