Apify Discord Mirror

Updated 2 years ago

How to disable PlaywrightCrawler request statistics on the console?

At a glance

The community member is seeing "INFO Statistics: PlaywrightCrawler request statistics" messages on the console and wants to disable them. They have already tried setting loggingIntervalSecs to null, but the messages persist. Other community members suggest setting loggingIntervalSecs to a very high value, such as 9007199254740990, but this does not work. The community members have also tried setting loggingIntervalSecs to 3600 (1 hour), but the messages still appear every minute. There is no explicitly marked answer in the comments.

I see these messages on the console
Plain Text
 INFO  Statistics: PlaywrightCrawler request statistics: {"requestAvgFailedDurationMillis":null,


how can I disable it?

P.S.

I already have this:
Plain Text
... new PlaywrightCrawler({
    autoscaledPoolOptions: {
        loggingIntervalSecs: null,
L
n
3 comments
You can probably make loggingIntervalSecs very high
I did this:

Plain Text
loggingIntervalSecs: 9007199254740990,


and still I get this:
Plain Text
INFO  Statistics: PlaywrightCrawler request statistics: {"requestAvgFailedDurationMillis":null,"requestAvgFinishedDurationMillis":null,"requestsFinishedPerMinute":0,"requestsFailedPerMinute":0,"requestTotalDurationMillis":0,"requestsTotal":0,"crawlerRuntimeMillis":60629,"retryHistogram":[]}


I still want to disable it...
This topic is almost year old... still have this statistics in log files... I want to turn it off, pls help!

tried loggingIntervalSecs: 3600 which is 1 hour
and still get it every minute...
Add a reply
Sign up and join the conversation on Discord