Logging using python logging module