Apify and Crawlee Official Forum

Updated 5 months ago

Everything logged twice?

At a glance

The post discusses an issue where everything is logged twice in a Scrapy template. Community members suggest that the issue should be reported as an issue on the template repository. One community member opens an issue and another community member confirms that the issue has been fixed. The community members discuss the fix and express their appreciation for the contributions.

Useful resources
Any idea why everything is logged twice? Is this a known issue of the Scrapy template, or is it a desired behavior?
Plain Text
...
[scrapy.core.engine] INFO  Spider closed (finished) ({"spider": "<Spider 'startupjobs' at 0x1072ab890>"})
[scrapy.core.engine] INFO  Spider closed (finished) ({"spider": "<Spider 'startupjobs' at 0x1072ab890>", "message": "Spider closed (finished)"})
[twisted] INFO  (TCP Port 6023 Closed)
[twisted] INFO  (TCP Port 6023 Closed) ({"message": "(TCP Port 6023 Closed)"})
[apify] INFO  Exiting actor ({"exit_code": 0})
[apify] INFO  Exiting actor ({"exit_code": 0, "message": "Exiting actor"})
H
V
A
9 comments
Should I put it here or as issue on the template repo? ๐Ÿค”
Hi Honza, could you please open an issue for that in https://github.com/apify/actor-templates/issues ? I have noticed this behavior before, however, so far not been able to get to it.
I opened an issue for that - https://github.com/apify/actor-templates/issues/256, thanks for reporting it.
just advanced to level 2! Thanks for your contributions! ๐ŸŽ‰
Thanks! Iโ€™ll subscribe there. If I happen to figure it out, Iโ€™ll report under that issue.
Oh, I see itโ€™s fixed ๐Ÿ˜€ That was quick! ๐Ÿ”ฅ
Awesome ๐Ÿ’ช
Yeah, I made one more update, hopefully, now the logging will be without any problems in all of the parts of the Actor ๐Ÿ™‚
I implemented the patch today, but didnt have time to test it. Iโ€™ll just trust you ๐Ÿ˜€ If I see double logs again when Iโ€™m back at the repo, Iโ€™ll report back.
Add a reply
Sign up and join the conversation on Discord