Skip to content

Logger propagate False prevents caplog from capturing logs during tests #462

Open
@vdusek

Description

@vdusek

Setting logger.propagate to False in @apify/crawlee-python PR #1156 causes caplog to stop capturing logs. This is known pytest behavior (pytest-dev/pytest#3697).

This leads to failing log-related tests when using Crawlee v0.6.7 in apify-sdk-python PR #459.

Once this is resolved, undo the skip marks that were added in #459.

Metadata

Metadata

Assignees

Labels

t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions