Python: provided python level log based on logging.