Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Fix launch from Python log #3263

Merged
merged 5 commits into from
Jan 5, 2021
Merged

Fix launch from Python log #3263

merged 5 commits into from
Jan 5, 2021

Conversation

liuzhe-lz
Copy link
Contributor

No description provided.

@liuzhe-lz liuzhe-lz changed the base branch from master to v2.0 January 5, 2021 10:59
log_path = _prepare_log_dir(dispatcher_env_vars.NNI_LOG_DIRECTORY) / 'dispatcher.log'
_setup_root_logger(FileHandler(log_path), logging.DEBUG)
def start_experiment_log(experiment_id: str, debug: bool) -> None:
log_path = _prepare_log_dir(Path.home() / f'nni-experiments/{experiment_id}/log') / 'dispatcher.log'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does logDir change log path?

@QuanluZhang QuanluZhang merged commit 6330df2 into microsoft:v2.0 Jan 5, 2021
@liuzhe-lz liuzhe-lz deleted the fixlog branch March 17, 2021 22:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants