Interfaced gphoto2 logging to Python logging.