using logging.cfg to configure logger