Good logging practice in Python

Introduce good logging practice in Python