Issue #22384 has been updated by Charlie Sharpsteen.

Category set to logging
Status changed from Unreviewed to Needs Decision
Assignee set to Andrew Parker

Looks like these were always logged at "info" level. [Commit 
50a76d5](https://github.com/puppetlabs/puppet/commit/50a76d5) did some 
refactoring that appears to have changed the log level to "notice".

Andy, any thoughts on this?

----------------------------------------
Bug #22384: Excessive logging for files not found
https://projects.puppetlabs.com/issues/22384#change-97309

* Author: Chuck Schweizer
* Status: Needs Decision
* Priority: Normal
* Assignee: Andrew Parker
* Category: logging
* Target version: 
* Affected Puppet version: 3.3.0-rc2
* Keywords: 
* Branch: 
----------------------------------------
The following codes is being used to find the first matching file.  In 
3.3.0-rc2 this produces an excessive amount of logging for every puppet run.

    Not Found: Could not find file_metadata modules/ssh_keys/user1/var1_var2.pub
    Not Found: Could not find file_metadata modules/ssh_keys/user1/var1_all.pub
    Not Found: Could not find file_metadata modules/ssh_keys/user1/all_var2.pub

    file { "/etc/ssh/keys/$title":
      ensure  => present,
      mode    => '0644',
      owner   => root,
      group   => root,
      source  => [
        "puppet:///modules/ssh_keys/${title}/var1_var2.pub",
        "puppet:///modules/ssh_keys/${title}/var1_all.pub",
        "puppet:///modules/ssh_keys/${title}/all_var2.pub",
        "puppet:///modules/ssh_keys/${title}/all_all.pub",
      ],
    }


-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to