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

An invalid path to the --logdest option is silently ignored

    XMLWordPrintable

Details

    • Enhancement
    • When the only log is a file, and Puppet fails to open that file, Puppet will exit with an error.

    Description

      When passing an invalid path to the --logdest option, I would expect at least a warning. Instead, it just silently ignores it:

      # puppet agent -t --logdest /no/such/path/foo.log
      Info: Using configured environment 'production'
      Info: Retrieving pluginfacts
      Info: Retrieving plugin
      Info: Loading facts
      Info: Caching catalog for master.puppetlabs.vm
      Info: Applying configuration version '1469935005'
      [...]
      Notice: Applied catalog in 33.58 seconds
      

      Attachments

        Activity

          People

            kris.bosland Kris Bosland
            ben.ford Ben Ford
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support