def __update_checkpoints( self ):

        for logger in self.docker_loggers:
            last_request = logger.last_request()
            self.__checkpoints[logger.stream_name] = last_request

        # save to disk
        if self.__checkpoints:
            tmp_file = self.__checkpoint_file + '~'
            scalyr_util.atomic_write_dict_as_json_file( self.__checkpoint_file, tmp_file, self.__checkpoints )
Update the checkpoints for when each docker logger logged a request, and save the checkpoints
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/builtin_monitors/docker_monitor.py/DockerMonitor.__update_checkpoints