Skip to content

Commit d4a2e49

Browse files
committed
API: libcrmcommon: Deprecate crm_log_xml_trace()
Pacemaker should not be used for general-purpose logging. Ref T622 Signed-off-by: Reid Wahl <[email protected]>
1 parent bc5e461 commit d4a2e49

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

include/crm/common/logging.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,6 @@ pcmk__clip_log_level(int level)
306306
} \
307307
} while (0)
308308

309-
#define crm_log_xml_trace(xml, text) do_crm_log_xml(LOG_TRACE, text, xml)
310-
311309
#define crm_log_xml_explicit(xml, text) do { \
312310
static struct qb_log_callsite *digest_cs = NULL; \
313311
digest_cs = qb_log_callsite_get( \

include/crm/common/logging_compat.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ extern "C" {
9999
//! \deprecated Do not use
100100
#define crm_log_xml_debug(xml, text) do_crm_log_xml(LOG_DEBUG, text, xml)
101101

102+
//! \deprecated Do not use
103+
#define crm_log_xml_trace(xml, text) do_crm_log_xml(LOG_TRACE, text, xml)
104+
102105
#ifdef __cplusplus
103106
}
104107
#endif

0 commit comments

Comments
 (0)