def mark_log(self, filename='system.log'):
        log_file = os.path.join(self.get_path(), 'logs', filename)
        if not os.path.exists(log_file):
            return 0
        with open(log_file) as f:
            f.seek(0, os.SEEK_END)
            return f.tell()
Return data about VM diagnostics.
dataset/ETHPy150Open pcmanus/ccm/ccmlib/node.py/Node.mark_log--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/xenapi/driver.py/XenAPIDriver.get_diagnostics