Move log_dir to defaults.