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

I read this article about logging in Chef and found it very easy to understand. It explained in simple words what logging means and how it helps keep track of what is happening in Chef. I liked how the points were clear so even someone new to Chef or DevOps tools can follow without feeling confused. It helped me see that good logging can make it much easier to find problems and know what went wrong. This post is useful for beginners who want to learn the basics step by step and feel more confident using this tool. Thank you for writing this in a clear and simple way — it made the idea of logging much easier to learn and think about.
ReplyDelete