您的位置:首页 > 其它

vss日志开关打开方法

2017-08-09 17:41 162 查看
参考文档:https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1007873#configfilelocation

1、安装vmtools
2、写文件tools.conf
文件内容:

[logging]
log = true

# Enable VMware Tools service logging to a file.
vmtoolsd.level = debug
vmtoolsd.handler = file
vmtoolsd.data = c:/tmp/vmtoold.log

# Enable "vmsvc" service logging to a file.
vmsvc.level = debug
vmsvc.handler = file
vmsvc.data = c:/tmp/vmsvc.log

# Enable new "vmusr" service logging to a file.
vmusr.level = debug
vmusr.handler = file
vmusr.data = c:/tmp/vmusr.${USER}.log

# Enable the "vmvss" snapshot service logging to a file.
vmvss.level = debug
vmvss.handler = file
vmvss.data = c:/tmp/vmvss.log
3、将文件tools.conf放在C:\ProgramData\VMware\VMware Tools\下
     如果没看到ProgramData那么一定隐藏了,要将虚拟机隐藏文件显示出来
4、C盘下创建tmp文件夹
5、备份时将静默模式创建快照开关打开

此时可以到C:\tmp文件夹下查看日志
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: