<human>:  Python: Logging TypeError: not all arguments converted during string formatting
<bot>: Here is some code to log message of level 'info' with value of `date` in the message

logging.info('date={}'.format(date))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.