Fixed ambiguous redirect of log file gen