Syslog logger is at http://seattlerb.rubyforge.org/SyslogLogger/
install w/ gem
# gem install SyslogLogger
A "free" quick n dirty method to get chef-client (and chef-solo) to log syslog
gem install
Add the following to /etc/chef/client.rb (or solo.rb)
--- [ begin snip ] ---
require 'syslog_logger'
Chef::Log.logger = SyslogLogger.new("chef")
--- [ end snip ] ---
Ideally this would be a patch to chef-(solo|client) which could easily be configured *correctly.* but for immediate future, this fits the bill.
Cheers,
~ Sig
Archive powered by MHonArc 2.6.16.