# Chef Client logging in opscode/cookbooks

**URL:** <https://discourse.chef.io/t/chef-client-logging-in-opscode-cookbooks/1193>\
**Category:** Chef Infra (archive)\
**Created:** [June 29, 2009, 8:48pm UTC](https://discourse.chef.io/t/chef-client-logging-in-opscode-cookbooks/1193 "2009-06-29T20:48:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joshua\_Timberman](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/joshua_timberman/32/424_2.png) [@Joshua\_Timberman](https://discourse.chef.io/u/Joshua_Timberman)\
**Post date:** [June 29, 2009, 8:48pm UTC](https://discourse.chef.io/t/chef-client-logging-in-opscode-cookbooks/1193/1 "2009-06-29T20:48:16Z")

</div>

All,

I just closed COOK-135[1], to have client logs by default go to  
STDOUT, since the default behavior is to set up a runit service for  
the client, and runit handles stdout already. On clients, you can  
change the node attribute chef[:client\_log] to “STDOUT” and it will do  
the right thing.

If you’re wondering where the logs are from runit services, by default:

/etc/sv/chef-client/log/main/current

Red Hat/CentOS will log to /var/log/chef/client.log as they did before.

## [1] [http://tickets.opscode.com/browse/COOK-135](http://tickets.opscode.com/browse/COOK-135)

Opscode, Inc  
Joshua Timberman, Senior Solutions Engineer  
C: 720.878.4322 E: [joshua@opscode.com](mailto:joshua@opscode.com)
