data-liberation-project / aphis-inspection-reports

Inspection data and PDFs from the USDA's Animal and Plant Health Inspection Service.
13 stars 3 forks source link

Use `logging` module instead of print/sys.stderr/sys.stdout #24

Closed jsvine closed 1 year ago

jsvine commented 1 year ago

We have a few print statements in the repo: https://github.com/data-liberation-project/aphis-inspection-reports/search?l=Python&q=print

Ideally, we'd switch to using Python's standard logging library instead, such as we've done here: https://github.com/data-liberation-project/phmsa-hazmat-incident-reports/search?l=Python&q=logging

jsvine commented 1 year ago

Completed via #62 — thanks, @saylibenadikar!