Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

feat: Expose logger argument on Actor.call to control log redirection from started Actor run #487

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

Merged
merged 4 commits into from
Jun 19, 2025

Conversation

Pijukatel
Copy link
Contributor

Description

Added logger argument is used to either disable log redirection, use the default redirection logger or to pass custom logger that will process the redirected logs from started Actor run.

Issues

Related: apify/apify-client-js#632

@github-actions github-actions bot added this to the 117th sprint - Tooling team milestone Jun 18, 2025
@github-actions github-actions bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Jun 18, 2025
@Pijukatel Pijukatel requested review from janbuchar and vdusek and removed request for janbuchar June 18, 2025 10:01
@Pijukatel Pijukatel added the adhoc Ad-hoc unplanned task added during the sprint. label Jun 18, 2025
@github-actions github-actions bot added the tested Temporary label used only programatically for some analytics. label Jun 18, 2025
@@ -38,7 +38,8 @@ def prepare_test_env(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> Callabl
"""

def _prepare_test_env() -> None:
delattr(apify._actor.Actor, '__wrapped__')
if hasattr(apify._actor.Actor, '__wrapped__'):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is very mysterious. Why did the previous implementation work on older Python versions and not in new ones (sometimes)?

@Pijukatel Pijukatel marked this pull request as ready for review June 18, 2025 11:19
Copy link
Contributor

@vdusek vdusek left a comment

Choose a reason for hiding this comment

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

LGTM

@Pijukatel Pijukatel merged commit aa6fa47 into master Jun 19, 2025
27 of 28 checks passed
@Pijukatel Pijukatel deleted the expose-redirect-logger branch June 19, 2025 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.