mute-gold•7mo ago
How i can change/save the logger that the context provides
The context of handler provides a
context.log
but i want to save/change the logger is used, because i want to save this, i am using the Crawly without Apify CLI
7 Replies
Someone will reply to you shortly. In the meantime, this might help:
-# This post was marked as solved by Jaogmar. View answer.
Hey @Jaogmar
Example with Loguru, But you can also use the standard logger in the same way
mute-goldOP•7mo ago
thank you Bro, i forget to close this thread
@Jaogmar just advanced to level 1! Thanks for your contributions! 🎉
mute-goldOP•7mo ago
i used the same way that you initialize de crawler class with the logger
the problem that i had that i was beeing very dumb and i forget to add the correct handlers to the logger
and when a used the
context.log.info
nothing happenedGlad you've solved it) 🙂
How do I start to use Apify to scrape datas from LinkedIn or some websites through n8n? Best
Is it difficult to implement for no coders?