Added python logging.