Merge "Set up local logging for lrmd"

This commit is contained in:
Jenkins 2017-03-15 08:44:24 +00:00 committed by Gerrit Code Review
commit 472a590d61
2 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,11 @@
# managed by puppet
### collect HA logs of all levels in /var/log/pacemaker.log
### Collect lrmd logs separately as
### they are not collected in pacemaker.log
if $programname == 'lrmd' then -/var/log/lrmd.log
### Pacemaker already writes logs to /var/log/pacemaker.log
### So no need to process these further
if ($programname == 'lrmd' \
or $programname == 'pengine' \
or $programname == 'stonith-ng' \
@ -10,6 +15,4 @@ if ($programname == 'lrmd' \
or $programname == 'crmd' \
or $programname == 'crm_verify' \
or $programname == 'corosync') \
then -/var/log/pacemaker.log
### stop further processing for the matched entries
& stop
then stop

View File

@ -23,6 +23,7 @@
"/var/log/dnsmasq.log"
"/var/log/fuelmenu.log"
"/var/log/kern.log"
"/var/log/lrmd.log"
"/var/log/mail.log"
"/var/log/mcollective*.log"
"/var/log/messages"