Skip to content

Commit

Permalink
Upfate template starter logging (kedro-org#3463)
Browse files Browse the repository at this point in the history
Signed-off-by: Ahdra Merali <[email protected]>
  • Loading branch information
AhdraMeraliQB committed Jan 2, 2024
1 parent 6eb3907 commit bc5ba00
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/framework/cli/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def fake_project_cli(
)
# Delete the project logging.yml, which leaves behind info.log and error.log files.
# This leaves logging config as the framework default.
(fake_repo_path / "conf" / "base" / "logging.yml").unlink()
(fake_repo_path / "conf" / "logging.yml").unlink()

# NOTE: Here we load a couple of modules, as they would be imported in
# the code and tests.
Expand Down
2 changes: 1 addition & 1 deletion tests/framework/session/test_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ def fake_project_with_logging_file_handler(fake_project):
"version": 1,
"handlers": {"info_file_handler": {"filename": "logs/info.log"}},
}
logging_yml = fake_project / "conf" / "base" / "logging.yml"
logging_yml = fake_project / "conf" / "logging.yml"
logging_yml.write_text(yaml.dump(logging_config))
return fake_project

Expand Down

0 comments on commit bc5ba00

Please sign in to comment.