Enable logging if log_dir is configured

Discussed earlier: if `log_dir` is configured, assume logging is desired.