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

This article about logging in Chef was very easy to read and understand. I liked how it explained the steps in simple words so anyone can follow along. The part about why logging is important really helped me see how it keeps track of what happens in the system. I also liked the clear examples that showed how to read and check logs. It made a topic that sounds hard feel simple and easy. Thank you for writing this helpful post — it made learning about Chef logging much easier.
ReplyDelete