Merge "Set up local logging for lrmd" into stable/newton
This commit is contained in:
commit
dde16f25b2
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user