python: logging typeerror: not all arguments converted during string formatting,"logging.info('date=%s', date)"