Issue #21641 has been updated by Glenn Sarti.
Redmine misinterpreted the PR number. Pull Request 2025 https://github.com/puppetlabs/puppet/pull/2025 ---------------------------------------- Bug #21641: Windows puppet service should log to the eventlog https://projects.puppetlabs.com/issues/21641#change-100281 * Author: Josh Cooper * Status: Accepted * Priority: Normal * Assignee: * Category: * Target version: * Affected Puppet version: * Keywords: windows * Branch: ---------------------------------------- The windows service code (daemon.rb) logs to a file, since that was implemented prior to eventlog support. Now that we have the latter, the daemon code should use it, e.g. <pre> require 'win32/eventlog' eventlog = Win32::EventLog.open("Application") eventlog.report_event( :source => "Puppet", :event_type => Win32::EventLog::INFO, # or WARN, ERROR :event_id => 0x01, # or 0x02, 0x03 :data => "the message" ) eventlog.close </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 unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.