Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-5068

Windows - Allow logging to a different event log

    Details

    • Type: Epic
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: PUP 5.y
    • Component/s: Windows
    • Labels:
    • Epic Name:
      Windows - Allow logging to a different event log
    • Template:
    • Team/s:
      Windows
    • CS Priority:
      Reviewed

      Description

      Logging to the Application Event Log is fine, but in some cases folks may want to log to a custom event log they set up. We should provide an option to pass the event log through the registry.

      The relevant code for setting event log is here.
      https://github.com/puppetlabs/puppet/blob/e0b0d2009af0fc803066368c42a96966dd764f46/ext/windows/service/daemon.rb#L140-L157

      Notes for scoping:

      • This will not create the event log, that must be handled separately.
      • The way to set this is a rudimentary change to the registry service startup call in ImagePath of the registry value at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\puppet.

      Eventually this could be an option passed during install/upgrade that will set the property automatically. That would scope a bit higher.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  rob Rob Reynolds
                  QA Contact:
                  Eric Thompson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: