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

Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
ReplyDeleteDevops Training in electronic city
I read this post about logging in Chef and found it very easy to understand. It explains how logs work on a Chef server and where to find important information when something goes wrong. I liked that it gives simple steps and clear details so even someone new to Chef can follow it without confusion. Seeing examples of how to check logs makes it easier to learn and know what is happening behind the scenes. This kind of post helps beginners feel more confident while working with Chef and solving issues. Thank you for sharing this useful explanation in a way that is simple and helpful for readers.
ReplyDelete