o c@s"ddlmZddlZdddZdS))absolute_importNcCs*|durt}|j||j|j|jfddS)zLog a L{twisted.python.failure.Failure} to the Python L{logging} module. The failure should be formatted as a regular exception, but a traceback may not be available. If C{msg} is passed, it will included before the traceback. N)exc_info)loggingerrortypevaluetb)failuremsgloggerr 3/usr/lib/python3/dist-packages/landscape/lib/log.py log_failuresr)NN) __future__rrrr r r r s