Chef Server
All logs generated by the Chef server can be found in /var/log/opscode. Each service enabled on the system also has a sub-directory in which service-specific logs are located, typically found in /var/log/opscode/service_name.
The Chef server has built-in support for easily tailing the logs that are generated. To view all the logs being generated on the Chef server, enter the following command:
> chef-server-ctl tail
To view logs for a specific service:
> chef-server-ctl tail SERVICENAME
where SERVICENAME should be replaced Read more click here
Reference:- This article was originally posted on scmGalaxy.com

Really liked how you split the logging explanation between Chef Server, Client, Knife, and Test Kitchen instead of just dumping paths and commands. It makes it so much easier to quickly troubleshoot where an issue is coming from instead of blindly tailing random logs. The Linux vs Windows log path tables were a super practical touch too – that’s exactly the kind of detail people usually skip but we always end up googling later 😄
ReplyDelete