codeforIATI / iatikit

🐨 A toolkit for using IATI data
https://iatikit.readthedocs.io
MIT License
6 stars 0 forks source link

Fix noisy logging! #46

Closed andylolz closed 5 years ago

andylolz commented 5 years ago

The logger is super noisy, e.g. warning about invalid data etc. That’s fine but it would be nice to be able to turn it off.

This might be best as an iatikit.ini setting.

andylolz commented 5 years ago

Hacky temporary fix:

import logging
logging.getLogger().setLevel(logging.ERROR)
andylolz commented 5 years ago

Fixed in 49e16b2.