You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constlog=newLog({logger: newCrawleePino({pino: baseLogger.child({type: 'crawlee'})}),})this.crawler=newPlaywrightCrawler({log: log,},)// @ts-expect-error we want to use our own loggerthis.crawler.stats.log=log
mtrunkat
added
t-tooling
Issues with this label are in the ownership of the tooling team.
t-console
Issues with this label are in the ownership of the console team.
t-c&c
Team covering store and finance matters.
labels
Apr 10, 2024
B4nan
removed
t-console
Issues with this label are in the ownership of the console team.
t-c&c
Team covering store and finance matters.
labels
Apr 22, 2024
Which package is this bug report for? If unsure which one to select, leave blank
@crawlee/core
Issue description
Here Statistics use defaultLog. If I pass custom logger for crawler, statistics will report with default. No way to pass another logger.
https://github.com/apify/crawlee/blob/master/packages/core/src/crawlers/statistics.ts#L102
Code sample
Package version
crawlee 3.8.2
Node.js version
v20.11.0
Operating system
linux
Apify platform
I have tested this on the
next
releaseNo response
Other context
No response
The text was updated successfully, but these errors were encountered: