Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update template starter logging #3463

Merged
merged 3 commits into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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