fgregg / legistar-scrape

Legistar Scraper is a python library for scraping Legistar sites -- legislation management sites hosted by by Granicus.
MIT License
23 stars 16 forks source link

Better logging for unreachable legislation #21

Closed fgregg closed 7 years ago

fgregg commented 11 years ago

Sometimes, we can never reach a piece of legislation and we timeout. We should do a better job logging these pieces of legislation.

The right way to do this is probably changing the print statements to logging statements of different priorities, and have these timeout problems be level WARNING.

http://docs.python.org/2/library/logging.html