Hi,

There is a linux command *tail *that change make on a file, so in your
shell file:

> scrapy crawl MY_SPIDER -s LOG_FILE=scrapy.log
>
tail -f scrapy.log
>

This method is just an alternative, so look if scrapy already support this
by native.


Regards.
Lhassan.



2014-10-23 7:12 GMT+01:00 Hugo Maugey <[email protected]>:

> Hi,
>
> I'm wondering if it's possible to display logs in terminal as well as
> saving them into a file.
>
> To save it to a file I do :
> scrapy crawl MY_SPIDER -s LOG_FILE=scrapy.log
>
> But then I don't have shell display any more ... and when logs are very
> long I can't see all of them in the terminal, so why is my question !
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "scrapy-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/scrapy-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to