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

Not possible to set Multiple Logging Destination with puppet agent anymore

    Details

    • Template:
      PUP Bug Template
    • Team:
      Coremunity
    • Sprint:
      Platform Core KANBAN
    • Method Found:
      Needs Assessment
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Hide
      When the ability to specify a logging destination in puppet.conf was added, the ability to specify multiple logging destinations through the command line using the --logdest option was broken. The ability to specify multiple logging destinations on the command line has been fixed.
      Show
      When the ability to specify a logging destination in puppet.conf was added, the ability to specify multiple logging destinations through the command line using the --logdest option was broken. The ability to specify multiple logging destinations on the command line has been fixed.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Puppet Version: > 5.5.7
      OS Name/Version: Debian Jessie

      Beginning with release 5.5.7, it is not possible anymore to have more then 1 logdestination.

      Before it was possible to have multiple Logging Destinations, by appending logdest multiple times

      This seems to be the Ticket related to it.
      https://tickets.puppetlabs.com/browse/PUP-2997
      Fixed since: PUP 5.5.7, PUP 6.0.3

      Example:

      puppet agent --no-daemonize --detailed-exitcodes --onetime --logdest console --logdest /var/log/puppetlabs/puppet/puppet.log
      Starting with release 5.5.7 the puppet agent ignores the second logdestination, which keeps us from saving changes to a local file.

      Steps to reproduce:

      Install Agent 5.5.6 and run:

       puppet agent --no-daemonize --detailed-exitcodes --onetime --logdest console --logdest /var/log/puppet.log
      

      Output will be show in console and also send to the file

      Install Agent 5.5.7 or any higher version number and run:

       puppet agent --no-daemonize --detailed-exitcodes --onetime --logdest console --logdest /var/log/puppet.log
      

      Output will be show in console but not send to the file

      Desired Behavior: Have all mentioned logdestinations enabled agian

      Actual Behavior: Only the first mentioned logdestination will be applied

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                jacob.helwig Jacob Helwig
                Reporter:
                Köstner Manuel
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support