def define_progress_callback(junos_module):
    """Create callback which can be passed to SW.install(progress=progress)
    """
    def myprogress(_, report):
        """A progress function which logs report at level INFO.

        Args:
          _: The PyEZ device object. Unused because the logger already knows.
          report: The string to be logged.
        """
        junos_module.logger.info(report)
    return myprogress