Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix problem that -log_dir will not be respected when anything is logg…
…ed before flag.Parse(). Before this change, premature logging resulted into log files being put in the default location (e.g. /tmp), but not the one specified by the log_dir flag. After this change, premature logging will not result into the creation of the log files yet. Instead, the log message will be printed to stderr.
- Loading branch information