logging.basicConfig(level=logging.DEBUG, format=
    '%(asctime)s %(name)-12s %(levelname)-8s %(message)s', datefmt=
    '%m-%d %H:%M')
logging.info('Danger Will Robinson!')
root = logging.getLogger()
hdlr = root.handlers[0]
fmt = logging.Formatter('%(name)-12s: %(levelname)-8s %(message)s')
How do I change the default format of log messages in python app engine?