Skip to content

Commit a279354

Browse files
committed
Fix: libs: Enable various output messages for the log formatter.
These were missing for one reason or another.
1 parent 9264d22 commit a279354

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

lib/fencing/st_output.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,24 +440,31 @@ stonith__validate_agent_xml(pcmk__output_t *out, va_list args) {
440440

441441
static pcmk__message_entry_t fmt_functions[] = {
442442
{ "failed-fencing-history", "html", stonith__failed_history },
443+
{ "failed-fencing-history", "log", stonith__failed_history },
443444
{ "failed-fencing-history", "text", stonith__failed_history },
444445
{ "failed-fencing-history", "xml", stonith__failed_history },
445446
{ "fencing-history", "html", stonith__history },
447+
{ "fencing-history", "log", stonith__history },
446448
{ "fencing-history", "text", stonith__history },
447449
{ "fencing-history", "xml", stonith__history },
448450
{ "full-fencing-history", "html", stonith__full_history },
451+
{ "full-fencing-history", "log", stonith__full_history },
449452
{ "full-fencing-history", "text", stonith__full_history },
450453
{ "full-fencing-history", "xml", stonith__full_history_xml },
451454
{ "last-fenced", "html", stonith__last_fenced_html },
455+
{ "last-fenced", "log", stonith__last_fenced_text },
452456
{ "last-fenced", "text", stonith__last_fenced_text },
453457
{ "last-fenced", "xml", stonith__last_fenced_xml },
454458
{ "pending-fencing-actions", "html", stonith__pending_actions },
459+
{ "pending-fencing-actions", "log", stonith__pending_actions },
455460
{ "pending-fencing-actions", "text", stonith__pending_actions },
456461
{ "pending-fencing-actions", "xml", stonith__pending_actions },
457462
{ "stonith-event", "html", stonith__event_html },
463+
{ "stonith-event", "log", stonith__event_text },
458464
{ "stonith-event", "text", stonith__event_text },
459465
{ "stonith-event", "xml", stonith__event_xml },
460466
{ "validate", "html", stonith__validate_agent_html },
467+
{ "validate", "log", stonith__validate_agent_text },
461468
{ "validate", "text", stonith__validate_agent_text },
462469
{ "validate", "xml", stonith__validate_agent_xml },
463470

lib/pengine/pe_output.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1490,6 +1490,7 @@ static pcmk__message_entry_t fmt_functions[] = {
14901490
{ "resource-history", "text", pe__resource_history_text },
14911491
{ "resource-history", "xml", pe__resource_history_xml },
14921492
{ "ticket", "html", pe__ticket_html },
1493+
{ "ticket", "log", pe__ticket_text },
14931494
{ "ticket", "text", pe__ticket_text },
14941495
{ "ticket", "xml", pe__ticket_xml },
14951496

0 commit comments

Comments
 (0)