forked from inspirehep/hepcrawl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use self.logger in all of the spiders (inspirehep#183)
This is to unify logging mechanisms used in all of 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. Signed-off-by: Szymon Łopaciuk <[email protected]>
- Loading branch information
1 parent
25a441b
commit f846388
Showing
3 changed files
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters