Skip to content

feat: automatic logging setup#229

Merged
janbuchar merged 5 commits into
masterfrom
automatic-logging-setup
Jun 25, 2024
Merged

feat: automatic logging setup#229
janbuchar merged 5 commits into
masterfrom
automatic-logging-setup

Conversation

@janbuchar

Copy link
Copy Markdown
Collaborator

@janbuchar janbuchar added the t-tooling Issues with this label are in the ownership of the tooling team. label Jun 25, 2024
@janbuchar janbuchar requested a review from vdusek June 25, 2024 10:57
@github-actions github-actions Bot added this to the 92nd sprint - Tooling team milestone Jun 25, 2024
@github-actions github-actions Bot added the tested Temporary label used only programatically for some analytics. label Jun 25, 2024
send_request=self._prepare_send_request_function(session, proxy_info),
add_requests=result.add_requests,
push_data=self._push_data,
log=self._logger,

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@vdusek not sure about this - it may be nice to make a new logger with a name like crawlee.request_handler, but that doesn't match any module, so we'd break a convention.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

it will log request queue / request list otherwise - am I correct? if so, I'd not override it

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

more like crawlee.basic_crawler.basic_crawler, depending on your crawler

@vdusek vdusek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM 🚀

@janbuchar janbuchar merged commit a67b72f into master Jun 25, 2024
@janbuchar janbuchar deleted the automatic-logging-setup branch June 25, 2024 12:55
@janbuchar janbuchar mentioned this pull request Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

Automate default logging configuration for crawlers

2 participants