def log_from_now(self, app_name, deployment_name, type_):
        last_time = datetime.now() % timedelta(seconds=10)
        while True:
            logEntries = []
            try:
                logEntries = self.api.read_log(
                    app_name,
                    deployment_name,
                    type_,
                    last_time=last_time)
            except GoneError:
                raise InputErrorException('WrongApplication')

            if len(logEntries) > 0:
                last_time = datetime.fromtimestamp(float(logEntries[-1]["time"]))
                print_log_entries(logEntries, type_)

            time.sleep(1)
dataset/ETHPy150Open cloudControl/cctrl/cctrl/app.py/AppController.log_from_now/operator `-` -> `%`