0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

chef-client と inspec のログ収集方法メモ

Last updated at Posted at 2024-01-13

chef-clientinspec のログ収集方法のメモ。

Chef Infra Client

Linux

chef-client --log_level trace 2>&1 | tee -a $(hostname)-chef-client-trace-$(date -u +"%Y-%m-%dT%H:%M:%SZ").log

Versions 13.x以前の場合:

chef-client --log_level debug 2>&1 | tee -a $(hostname)-chef-client-debug-$(date -u +"%Y-%m-%dT%H:%M:%SZ").log

Windows

chef-client --log-level trace --logfile .\chef-client-trace.log

Versions 13.x以前の場合:

chef-client --log-level debug --logfile .\chef-client-debug.log

Chef InSpec

inspec --log-level=debug --diagnose 2>&1 | tee -a $(hostname)-inspec-debug-$(date -u +"%Y-%m-%dT%H:%M:%SZ").log

技術サポート問い合わせ

ChefやInSpecの技術サポート・コンサルに関するお問い合わせは、こちらから。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?