inspirehep / hepcrawl

Scrapy project for feeds into INSPIRE-HEP
http://inspirehep.net
Other
17 stars 30 forks source link

misc: use self.logger in the spiders #220

Closed szymonlopaciuk closed 6 years ago

szymonlopaciuk commented 6 years ago

Description

This is to unify logging mechanisms used in the spiders. Previously some spiders used self.log.

In some cases (spiders.common.*) spiders create the logger independently via logging.getLogger. I am leaving this, as it provides additional debugging information to know that the message comes from the superclass.

Related Issue

Closes #183.

Checklist: