using python logging library for backend log statements