fix: Fix logger name for http based loggers by Pijukatel · Pull Request #1023 · apify/crawlee-python
label
Feb 25, 2025
vdusek
left a comment
•
Loading
vdusek
left a comment
•
Loading
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters