如何在Chef中的knife winrm命令上设置日志级别

时间:2016-02-11 16:23:58

标签: chef winrm

需要在由刀winrm踢的chef-client上设置较低的日志级别(调试)。

Command目前看起来像这样。

knife winrm MY-MACHINE chef-client --manual-list --winrm-user 'user' --winrm-password 'pwd'

我唯一发现的是knife winrm子命令上的详细标记。

我想要在测试期间执行kitchen converge -l debug时获得相同的结果

1 个答案:

答案 0 :(得分:3)

发出命令"chef-client -l debug"?我对knife sshknife winrm更熟悉,但它的处理方式与AFAIK相同。

相关问题