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

excessive INFO logging when files arent found

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: PUP 4.8.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • QA Risk Assessment:
      Needs Assessment

      Description

      When one use the common pattern like this:

      file{"/foo":
        source => ["puppet:///modules/x/foo.${fqdn}", "puppet:///modules/x/foo"]
      }
      

      This will use the first found file and it is uncommon that for every single node the first match will exist.

      Unfortunately Puppet (or Puppet Server) logs excessively at INFO level in this case:

      2017-02-09 21:17:49,889 INFO  [qtp1569153818-45339] [puppetserver] Puppet Not Found: Could not find file_metadata modules/x/foo.node.example.net
      

      I think this would be better if it was debug level. I am not sure what is causing this logging the Puppet code or the Puppetserver code so apologies if this is the wrong project

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ripienaar R.I.Pienaar
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Zendesk Support