add a logging module by using python logging