Use python logger.