# file is managed by puppet

### collect puppet logs of all levels in /var/log/puppet/puppet.log
if ($programname == 'puppet-apply' \
 or $programname == 'puppet-error') \
### use 6 for INFO+ msg levels, 5 for WARN+ etc.
###  and $syslogseverity <= '6' \
then -/var/log/puppet/puppet.log
### stop further processing for the matched entries
& ~

# file is managed by puppet

### collect puppet logs of all levels in /var/log/puppet/puppet.log
if ($programname == 'puppet-apply' \
 or $programname == 'puppet-user' \
 or $programname == 'puppet-error') \
### use 6 for INFO+ msg levels, 5 for WARN+ etc.
###  and $syslogseverity <= '6' \
then -/var/log/puppet/puppet.log
### stop further processing for the matched entries
& ~

Fix local logs for puppet 3.4
Fix local logs for puppet 3.4

This is just a simmetric change to the
https://review.openstack.org/#/c/72390/9/deployment/puppet/rsyslog/templates/30-server-remote-log.conf.erb
but for the local logs as well.

Change-Id: Iba66115fa7971f2a62b0626b95e392be0a9c4619
Signed-off-by: Bogdan Dobrelya <0b23cd1e586d5f091fecb3391314c2b9ec1fd641@mirantis.com>
