Override the default log formatter with your own.

def set_formatter(log_formatter):
        """Override the default log formatter with your own."""
        # Add our formatter to all the handlers
        root_logger = logging.getLogger()
        for handler in root_logger.handlers:
            handler.setFormatter(logging.Formatter(log_formatter))