Skip to content

Commit

Permalink
logger were missing a StreamHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloCastellano committed Jul 29, 2015
1 parent c9fb77d commit bfda1fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bormeparser/borme.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

import logging
logger = logging.getLogger(__name__)
ch = logging.StreamHandler()
logger.addHandler(ch)
logger.setLevel(logging.WARN)


Expand Down
2 changes: 2 additions & 0 deletions bormeparser/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

import logging
logger = logging.getLogger(__name__)
ch = logging.StreamHandler()
logger.addHandler(ch)
logger.setLevel(logging.WARN)

# URLs
Expand Down

0 comments on commit bfda1fb

Please sign in to comment.