Skip to content

Kpler/scrapy-logentries-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
cmorent
Mar 8, 2017
bcf1d2a · Mar 8, 2017

History

22 Commits
Jul 20, 2015
Dec 28, 2016
May 27, 2016
May 27, 2016
Jun 24, 2015
Mar 8, 2017
Jun 24, 2015
Jun 24, 2015
May 27, 2016
Jun 1, 2016
Mar 8, 2017
Dec 28, 2016
Dec 28, 2016

Repository files navigation

scrapy-history-middleware

The Logentires extension send all logs to Logentries.

https://logentries.com/doc/python/

It also functions as a drop-in replacement for the builtin scrapy httpcache middleware (scrapy.contrib.downloadermiddleware.httpcache.HttpCacheMiddleware). For example:

    EXTENSIONS = {
        'scrapylogentries.extension.LogentriesExtension'
    }

    LOGENTRIES_TOKEN = 'XXXXXX'
    

Requirements

To run the extension:

  • logentries

Testing:

  • nose
  • nose-cov
  • coverage