Skip to content

refactor!: polish logging across the codebase#1005

Open
vdusek wants to merge 1 commit into
masterfrom
chore/polish-logging
Open

refactor!: polish logging across the codebase#1005
vdusek wants to merge 1 commit into
masterfrom
chore/polish-logging

Conversation

@vdusek

@vdusek vdusek commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Description

Logging polish across the whole codebase:

  • Fix typos & grammar
  • Unify logger usage
  • Remove useless debug logs
  • Rebalance a few log levels

Breaking changes

The typed public API is unchanged, but log output changes in a few minor ways:

  • error -> warning for the local no-op metamorph() / reboot() / add_webhook() messages and the Scrapy scheduler skip.
  • info -> debug for the "unknown platform event" message.
  • Internal logger names changed from apify to apify.<module> for the charging, proxy, and events modules.

Standardize internal modules on getLogger(__name__), rebalance log levels
(no-op platform-only calls error->warning), and trim Scrapy trace-debug noise
ahead of the next major release.
@vdusek vdusek added adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. labels Jun 19, 2026
@vdusek vdusek self-assigned this Jun 19, 2026
@github-actions github-actions Bot added this to the 143rd sprint - Tooling team milestone Jun 19, 2026
@github-actions github-actions Bot added the tested Temporary label used only programatically for some analytics. label Jun 19, 2026
@codecov

codecov Bot commented Jun 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.75000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 91.57%. Comparing base (482e725) to head (c13aa95).
⚠️ Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
...ge_clients/_file_system/_key_value_store_client.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1005      +/-   ##
==========================================
- Coverage   91.61%   91.57%   -0.04%     
==========================================
  Files          49       49              
  Lines        3171     3157      -14     
==========================================
- Hits         2905     2891      -14     
  Misses        266      266              
Flag Coverage Δ
e2e 35.92% <37.50%> (+0.22%) ⬆️
integration 56.73% <43.75%> (+0.31%) ⬆️
unit 80.42% <93.75%> (-0.09%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vdusek vdusek changed the title refactor: polish logging across the codebase refactor!: polish logging across the codebase Jun 19, 2026
@vdusek vdusek requested a review from Pijukatel June 19, 2026 15:13
@vdusek vdusek marked this pull request as ready for review June 19, 2026 15:13
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