- From: Jeff Blaine <
>
- To:
- Subject: [chef] Re: "can't convert Logger::Syslog into String" when configuring syslog
- Date: Mon, 08 Dec 2014 21:49:47 -0500
On 12/8/2014 2:54 PM, William Jimenez wrote:
>
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.
William, maybe try this:
https://supermarket.chef.io/cookbooks/chef-client_syslog
My last comment at this epic blog post of mine is at the top:
"UPDATE: THE FOLLOWING BLOG POST IS KEPT FOR HISTORICAL PURPOSES ONLY.
The solution at the end of the post no longer works and I give up
chasing this elusive dream. Readers may want to look into this instead:
https://supermarket.getchef.com/cookbooks/chef-client_syslog"
--
Jeff Blaine
kickflop.net
PGP/GnuPG Key ID: 0x0C8EDD02
Archive powered by MHonArc 2.6.16.