Apify and Crawlee Official Forum

Updated 3 months ago

Everything logged twice?

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! πŸ”₯
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