PCMK_trace_files doesn't work with wildcards in a Pacemaker cluster

Solution Verified - Updated -

Issue

  • /etc/sysconfig/pacemaker says that wildcards are supported in the PCMK_trace_files option, but tracing doesn't get enabled for files that match the wildcard pattern.
# Log all messages from a comma-separated list of files (no path).
# Wildcards are supported, e.g. PCMK_trace_files=prefix*.c
PCMK_trace_files=fenced*.c,st_*.c

Environment

  • Red Hat Enterprise Linux 7 or 8 (with the High Availability Add-on)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content