Skip to content

fix: Fix logger name for http based loggers#1023

Merged
Pijukatel merged 1 commit intomasterfrom
http-crawlers-logger-name
Feb 25, 2025
Merged

fix: Fix logger name for http based loggers#1023
Pijukatel merged 1 commit intomasterfrom
http-crawlers-logger-name

Conversation

@Pijukatel
Copy link
Copy Markdown
Collaborator

Description

Set logger name for http based loggers to class name.

Issues

@Pijukatel Pijukatel added the t-tooling Issues with this label are in the ownership of the tooling team. label Feb 25, 2025
@Pijukatel Pijukatel added the bug Something isn't working. label Feb 25, 2025
@github-actions github-actions bot added this to the 109th sprint - Tooling team milestone Feb 25, 2025
@github-actions github-actions bot added the tested Temporary label used only programatically for some analytics. label Feb 25, 2025
@Pijukatel Pijukatel requested a review from vdusek February 25, 2025 09:36
@Pijukatel Pijukatel marked this pull request as ready for review February 25, 2025 09:36
Copy link
Copy Markdown
Collaborator

@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.

Could we use "Crawler".__name__ in the tests rather than their names in the form as string literals? Thanks.

@janbuchar
Copy link
Copy Markdown
Collaborator

Could we use "Crawler".__name__ in the tests rather than their names in the form as string literals? Thanks.

That borders on circular logic though 🙂 I slightly prefer copying the name in the tests so that they don't depend on the implementation, even though it's a super trivial dependency here.

@Pijukatel Pijukatel merged commit bfb3944 into master Feb 25, 2025
23 checks passed
@Pijukatel Pijukatel deleted the http-crawlers-logger-name branch February 25, 2025 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working. 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.

Wrong type of crawler shown when using crawler/context logging

3 participants