Is it possible to completely disable logging to syslog and only log to a file? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 neerolyte wrote:> Is it possible to completely disable logging to syslog and only log to > a file?Have a look at the http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference page and the various log options. Regards James Turnbull - -- Author of: * Pro Linux Systems Administration (http://www.amazon.com/gp/product/1430219122/) * Pulling Strings with Puppet (http://www.amazon.com/gp/product/1590599780/) * Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) * Hardening Linux (http://www.amazon.com/gp/product/1590594444/) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkoJC+wACgkQ9hTGvAxC30D6zgCeOoEtcidz0OREq5cPdRUBgER5 xK0AoIOQVASwx2kleuMy0CpFCS3eHvfH =Awi7 -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On May 12, 3:41 pm, James Turnbull <ja...@lovedthanlost.net> wrote:> Have a look at thehttp://reductivelabs.com/trac/puppet/wiki/ConfigurationReferencepage > and the various log options.I''ve looked there. I''ve got sensible values set for all of the log related config. The closest I could find to an answer was: masterlog -- Where puppetmasterd logs. This is generally not used, since syslog is the default log destination. I can''t find any mention of how to change the log destination though. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On May 12, 2009, at 12:49 AM, neerolyte wrote:> > On May 12, 3:41 pm, James Turnbull <ja...@lovedthanlost.net> wrote: >> Have a look at thehttp://reductivelabs.com/trac/puppet/wiki/ConfigurationReferencepage >> and the various log options. > > I''ve looked there. > > I''ve got sensible values set for all of the log related config. > > The closest I could find to an answer was: > masterlog -- Where puppetmasterd logs. This is generally not used, > since syslog is the default log destination. > > I can''t find any mention of how to change the log destination though.The only way to do it is to set the logdest for puppetmasterd on startup, but I believe that has been broken in some versions because it''s used so rarely. -- Criminal: A person with predatory instincts who has not sufficient capital to form a corporation. --Howard Scott --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Luke Kanies wrote:> The only way to do it is to set the logdest for puppetmasterd on > startup, but I believe that has been broken in some versions because > it''s used so rarely.Ok after a lot of playing I finally found out that not all options that work at the cli work in the config, logdest is one. My solution for now is to wrap ''--logdest /path/to/my/log'' in my init.d script, but I believe this should be treated as a bug. Should I post it to the bug tracker? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On May 12, 2009, at 7:56 PM, neerolyte wrote:> > Luke Kanies wrote: >> The only way to do it is to set the logdest for puppetmasterd on >> startup, but I believe that has been broken in some versions because >> it''s used so rarely. > > Ok after a lot of playing I finally found out that not all options > that work at the cli work in the config, logdest is one. > > My solution for now is to wrap ''--logdest /path/to/my/log'' in my > init.d script, but I believe this should be treated as a bug. Should I > post it to the bug tracker?Yes, please. -- Susskind''s Rule of Thumb: Don''t ask what they think. Ask what they do. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---