adding logging_setup.py

We needed to unify the way logging is done across all the collectors. We
wanted both a plain text one (for humans) and a JSON one (for Kibana).