Has anyone noticed that the puppetd logs on the client don''t get flushed on a regular bases. I''m often looking at the logs and don''t see updates for many hours and then later on I''ll see messages logged for hours that have past. It''s as if there is a buffer that is not getting flushed to disk often enough. -- 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.
This happens if you have a file logdest. There is a config parameter ''autoflush'' which is supposed to do flush-on-write but in my brief testing I found this not to work as advertised. Switching to a syslog destination, however, does. On Jun 29, 2010, at 11:34 AM, Steven L. Seed wrote:> Has anyone noticed that the puppetd logs on the client don''t get flushed on a regular bases. I''m often looking at the logs and don''t see updates for many hours and then later on I''ll see messages logged for hours that have past. It''s as if there is a buffer that is not getting flushed to disk often enough. > > -- > 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. >-- 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.
Hi Eric, On Wed, Jun 30, 2010 at 12:41 AM, Eric Sorenson <eric.sorenson@me.com>wrote:> This happens if you have a file logdest. There is a config parameter > ''autoflush'' which is supposed to do flush-on-write but in my brief testing I > found this not to work as advertised. Switching to a syslog destination, > however, does. > >I didn''t see a ticket related to this, can you open one?> > On Jun 29, 2010, at 11:34 AM, Steven L. Seed wrote: > > > Has anyone noticed that the puppetd logs on the client don''t get flushed > on a regular bases. I''m often looking at the logs and don''t see updates for > many hours and then later on I''ll see messages logged for hours that have > past. It''s as if there is a buffer that is not getting flushed to disk often > enough. > > > > -- > > 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<puppet-users%2Bunsubscribe@googlegroups.com> > . > > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > > > -- > 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<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- 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 Jun 30, 2010, at 8:10 AM, Dan Bode wrote:> Hi Eric, > > On Wed, Jun 30, 2010 at 12:41 AM, Eric Sorenson <eric.sorenson@me.com> wrote: > This happens if you have a file logdest. There is a config parameter ''autoflush'' which is supposed to do flush-on-write but in my brief testing I found this not to work as advertised. Switching to a syslog destination, however, does. > > > I didn''t see a ticket related to this, can you open one?Dan - I just got back to verify this - Same thing on 0.25.5 for both puppetmasterd and puppetd. Filed: http://projects.puppetlabs.com/issues/4139 - Eric Sorenson - N37 17.255 W121 55.738 - http://twitter.com/ahpook - -- 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.
Thanks for submitting this. It is the case for me that I''m using a file logdest. Eric Sorenson wrote:> > On Jun 30, 2010, at 8:10 AM, Dan Bode wrote: > >> Hi Eric, >> >> On Wed, Jun 30, 2010 at 12:41 AM, Eric Sorenson <eric.sorenson@me.com >> <mailto:eric.sorenson@me.com>> wrote: >> >> This happens if you have a file logdest. There is a config >> parameter ''autoflush'' which is supposed to do flush-on-write but >> in my brief testing I found this not to work as advertised. >> Switching to a syslog destination, however, does. >> >> >> I didn''t see a ticket related to this, can you open one? > > Dan - I just got back to verify this - Same thing on 0.25.5 for both > puppetmasterd and puppetd. Filed: > > http://projects.puppetlabs.com/issues/4139 > > > - Eric Sorenson - N37 17.255 W121 55.738 - http://twitter.com/ahpook - > > -- > 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.-- 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.