Issue #9595 has been updated by Josh Cooper. Status changed from Code Insufficient to Merged - Pending Release Assignee changed from Josh Cooper to Andrew Parker Keywords set to flush log
Andy fixed this in commit <https://github.com/puppetlabs/puppet/commit/72d3b564741b916960f520ca3c20733a7efbaaa7> which was merged into 2.7.x as part of fixing #8174 as <https://github.com/puppetlabs/puppet/commit/849a882d0914e305547d566471f1027102bbfba5> <pre> Log files should automatically write everything to disk eagerly or else we could lose data. If a user wants to not autoflush for performance reasons they can turn that off. </pre> ---------------------------------------- Bug #9595: logs are not flushed completely https://projects.puppetlabs.com/issues/9595#change-62906 Author: Radosław Antoniuk Status: Merged - Pending Release Priority: Normal Assignee: Andrew Parker Category: logging Target version: 2.7.x Affected Puppet version: 0.22.1 Keywords: flush log Branch: https://github.com/puppetlabs/puppet/pull/496 the puppet and puppet master (v. 2.7.1) logs are not flushed properly to the files. when puppet/puppetmaster is logging through syslog, all is logged properly. if I switch to logging to the file /var/log/puppet/puppet.log, the file is often cut in the middle of the word, e.g.: <pre> [root@server2 manifests]# tail -2 /var/log/puppet/masterhttp.log [2011-09-19 09:12:32] - -> /production/file_metadata/files/config/jpackage50.repo? [2011-09-19 09:12:33] testsrv.domain.com - - [19/Sep/2011:09:12:33 PDT] "PUT /production/r[root@server2 manifests]# </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
