HomeClusterLabs Projects

Fix: tools: make crm_report search system logs more efficiently

Description

Fix: tools: make crm_report search system logs more efficiently

Previously, crm_report's findmsg function would uncompress and grep
all system logs, then display the names of the N most recently modified.

Now, it processes the files in order of most recently modified,
and returns once it has displayed N names.
Also, it can now handle log files with spaces in their names.

Details

Provenance
kgaillotAuthored on Apr 12 2016, 5:26 PM
Parents
rPebec33cd9503: Fix: tools: crm_report should find pacemaker_remote logs
Branches
Unknown
Tags
Unknown

Event Timeline