How to log python exception?,logging.exception('')