[chef] "can't convert Logger::Syslog into String" when configuring syslog


Chronological Thread 
  • From: William Jimenez < >
  • To:
  • Subject: [chef] "can't convert Logger::Syslog into String" when configuring syslog
  • Date: Mon, 8 Dec 2014 11:54:37 -0800

Hello
I'm trying to configure chef-client to log to syslog, as mentioned here: https://github.com/opscode-cookbooks/chef-client#configuration-includes, however when I use that config I get the following error:

[2014-12-08T19:43:54+00:00] FATAL: Failed to open or create log file at #
<Logger::Syslog:0x00000002ee6e50>: TypeError (can't convert Logger::Syslog into String)
[2014-12-08T19:43:54+00:00] FATAL: Aborting due to invalid 'log_location' configuration

I'm wondering what environments this works on. I'm running chef client 11.16.4. 

Thanks,
William



Archive powered by MHonArc 2.6.16.

§