use logging module to log error informations
initialize logging configuration