To enable logging when used as a library, you have to:
import logging
logger = logging.getLogger('patch')
logger.setLevel(logging.DEBUG)
loghandler = logging.StreamHandler()
logger.addHandler(loghandler)
This suxx. The proposed change is to track logging system state and configure
it with easier calls.
Original issue reported on code.google.com by techtonik@gmail.com on 17 Jun 2013 at 5:43
Original issue reported on code.google.com by
techtonik@gmail.com
on 17 Jun 2013 at 5:43