respect the profile's log_dir if present