Simple python logging utilities