fmt 47 daemons/controld/controld_fsa.c #define do_dot_log(fmt, args...) crm_trace( fmt, ##args) fmt 107 include/crm/common/internal.h # define pcmk__config_err(fmt...) do { \ fmt 109 include/crm/common/internal.h crm_err(fmt); \ fmt 119 include/crm/common/internal.h # define pcmk__config_warn(fmt...) do { \ fmt 121 include/crm/common/internal.h crm_warn(fmt); \ fmt 156 include/crm/common/logging.h # define do_crm_log(level, fmt, args...) do { \ fmt 159 include/crm/common/logging.h printf(fmt "\n" , ##args); \ fmt 164 include/crm/common/logging.h qb_log_from_external_source(__func__, __FILE__, fmt, \ fmt 180 include/crm/common/logging.h # define do_crm_log_unlikely(level, fmt, args...) do { \ fmt 187 include/crm/common/logging.h trace_cs = qb_log_callsite_get(__func__, __FILE__, fmt, \ fmt 191 include/crm/common/logging.h qb_log_from_external_source(__func__, __FILE__, fmt, \ fmt 270 include/crm/common/logging.h # define do_crm_log_alias(level, file, function, line, fmt, args...) do { \ fmt 273 include/crm/common/logging.h printf(fmt "\n" , ##args); \ fmt 278 include/crm/common/logging.h qb_log_from_external_source(function, file, fmt, (level), \ fmt 298 include/crm/common/logging.h # define crm_perror(level, fmt, args...) do { \ fmt 306 include/crm/common/logging.h fprintf(stderr, fmt ": %s (%d)\n" , ##args, err, errno);\ fmt 308 include/crm/common/logging.h do_crm_log((level), fmt ": %s (%d)" , ##args, err, errno); \ fmt 325 include/crm/common/logging.h # define crm_log_tag(level, tag, fmt, args...) do { \ fmt 334 include/crm/common/logging.h fmt, (level), __LINE__, converted_tag); \ fmt 338 include/crm/common/logging.h qb_log_from_external_source(__func__, __FILE__, fmt, \ fmt 345 include/crm/common/logging.h # define crm_emerg(fmt, args...) qb_log(LOG_EMERG, fmt , ##args) fmt 346 include/crm/common/logging.h # define crm_crit(fmt, args...) qb_logt(LOG_CRIT, 0, fmt , ##args) fmt 347 include/crm/common/logging.h # define crm_err(fmt, args...) qb_logt(LOG_ERR, 0, fmt , ##args) fmt 348 include/crm/common/logging.h # define crm_warn(fmt, args...) qb_logt(LOG_WARNING, 0, fmt , ##args) fmt 349 include/crm/common/logging.h # define crm_notice(fmt, args...) qb_logt(LOG_NOTICE, 0, fmt , ##args) fmt 350 include/crm/common/logging.h # define crm_info(fmt, args...) qb_logt(LOG_INFO, 0, fmt , ##args) fmt 352 include/crm/common/logging.h # define crm_debug(fmt, args...) do_crm_log_unlikely(LOG_DEBUG, fmt , ##args) fmt 353 include/crm/common/logging.h # define crm_trace(fmt, args...) do_crm_log_unlikely(LOG_TRACE, fmt , ##args) fmt 392 include/crm/common/logging.h # define do_crm_log_always(level, fmt, args...) do { \ fmt 397 include/crm/common/logging.h qb_log((level), fmt , ##args); \ fmt 67 include/crm/common/xml_internal.h #define PCMK__XML_LOG_BASE(priority, dechunk, postemit, prefix, fmt, ap) \ fmt 70 include/crm/common/xml_internal.h qb_log_from_external_source_va(__func__, __FILE__, (fmt), \ fmt 80 include/crm/common/xml_internal.h CXLB_len = vasprintf(&CXLB_buf, (fmt), (ap)); \ fmt 18 include/crm/pengine/internal.h # define pe_rsc_info(rsc, fmt, args...) crm_log_tag(LOG_INFO, rsc ? rsc->id : "<NULL>", fmt, ##args) fmt 19 include/crm/pengine/internal.h # define pe_rsc_debug(rsc, fmt, args...) crm_log_tag(LOG_DEBUG, rsc ? rsc->id : "<NULL>", fmt, ##args) fmt 20 include/crm/pengine/internal.h # define pe_rsc_trace(rsc, fmt, args...) crm_log_tag(LOG_TRACE, rsc ? rsc->id : "<NULL>", fmt, ##args) fmt 22 include/crm/pengine/internal.h # define pe_err(fmt...) do { \ fmt 24 include/crm/pengine/internal.h pcmk__config_err(fmt); \ fmt 27 include/crm/pengine/internal.h # define pe_warn(fmt...) do { \ fmt 29 include/crm/pengine/internal.h pcmk__config_warn(fmt); \ fmt 32 include/crm/pengine/internal.h # define pe_proc_err(fmt...) { was_processing_error = TRUE; crm_err(fmt); } fmt 33 include/crm/pengine/internal.h # define pe_proc_warn(fmt...) { was_processing_warning = TRUE; crm_warn(fmt); } fmt 153 include/crm/pengine/internal.h #define pe_warn_once(pe_wo_bit, fmt...) do { \ fmt 156 include/crm/pengine/internal.h crm_warn(fmt); \ fmt 158 include/crm/pengine/internal.h pe_warn(fmt); \ fmt 12 include/pcmki/pcmki_error.h #define CMD_ERR(fmt, args...) do { \ fmt 13 include/pcmki/pcmki_error.h crm_warn(fmt, ##args); \ fmt 14 include/pcmki/pcmki_error.h fprintf(stderr, fmt "\n", ##args); \ fmt 30 lib/cib/cib_attrs.c #define attr_msg(level, fmt, args...) do { \ fmt 32 lib/cib/cib_attrs.c printf(fmt"\n", ##args); \ fmt 34 lib/cib/cib_attrs.c do_crm_log(level, fmt , ##args); \ fmt 137 lib/common/logging.c char fmt[FMT_MAX]; fmt 148 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, fmt 154 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "(%%n"); fmt 157 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "@%%f:%%l"); fmt 159 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, ")"); fmt 162 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, " %%g\t%%p: %%b"); fmt 165 lib/common/logging.c qb_log_format_set(method, fmt); fmt 474 lib/common/patchset.c const char *fmt = NULL; fmt 498 lib/common/patchset.c fmt = crm_element_value(patchset, "format"); fmt 503 lib/common/patchset.c "Diff: --- %d.%d.%d %s", del[0], del[1], del[2], fmt); fmt 71 lib/common/schemas.c xml_log(int priority, const char *fmt, ...) fmt 75 lib/common/schemas.c xml_log(int priority, const char *fmt, ...) fmt 79 lib/common/schemas.c va_start(ap, fmt); fmt 82 lib/common/schemas.c PCMK__XML_LOG_BASE(priority, FALSE, 0, NULL, fmt, ap); fmt 741 lib/common/schemas.c cib_upgrade_err(void *ctx, const char *fmt, ...) fmt 768 lib/common/schemas.c cib_upgrade_err(void *ctx, const char *fmt, ...) fmt 774 lib/common/schemas.c const char *fmt_iter = fmt; fmt 782 lib/common/schemas.c va_start(ap, fmt); fmt 872 lib/common/schemas.c vfprintf(stderr, fmt, ap); fmt 875 lib/common/schemas.c PCMK__XML_LOG_BASE(msg_log_level, TRUE, 0, "CIB upgrade: ", fmt, ap); fmt 66 lib/common/xml.c #define buffer_print(buffer, max, offset, fmt, args...) do { \ fmt 69 lib/common/xml.c rc = snprintf((buffer) + (offset), (max) - (offset), fmt, ##args); \ fmt 807 lib/common/xml.c log_xmllib_err(void *ctx, const char *fmt, ...) fmt 812 lib/common/xml.c log_xmllib_err(void *ctx, const char *fmt, ...) fmt 822 lib/common/xml.c va_start(ap, fmt); fmt 827 lib/common/xml.c "XML Error: ", fmt, ap); fmt 829 lib/common/xml.c PCMK__XML_LOG_BASE(LOG_ERR, TRUE, 0, "XML Error: ", fmt, ap); fmt 2252 lib/fencing/st_client.c #define api_log(level, fmt, args...) syslog(level, "%s: "fmt, __func__, args) fmt 151 lib/fencing/st_lha.c stonith_plugin(int priority, const char *fmt, ...) __attribute__((__format__ (__printf__, 2, 3))); fmt 2370 lib/pacemaker/pcmk_sched_native.c #define log_change(a, fmt, args...) do { \ fmt 2372 lib/pacemaker/pcmk_sched_native.c printf(" * "fmt" \tdue to %s\n", ##args, a->reason); \ fmt 2374 lib/pacemaker/pcmk_sched_native.c crm_notice(fmt" \tdue to %s", ##args, a->reason); \ fmt 2376 lib/pacemaker/pcmk_sched_native.c printf(" * "fmt"\n", ##args); \ fmt 2378 lib/pacemaker/pcmk_sched_native.c crm_notice(fmt, ##args); \ fmt 38 lib/pacemaker/pcmk_sched_transition.c #define quiet_log(fmt, args...) do { \ fmt 40 lib/pacemaker/pcmk_sched_transition.c crm_trace(fmt, ##args); \ fmt 42 lib/pacemaker/pcmk_sched_transition.c printf(fmt , ##args); \ fmt 18 lib/pengine/pe_status_private.h # define status_printw(fmt, args...) printw(fmt, ##args) fmt 20 lib/pengine/pe_status_private.h # define status_printw(fmt, args...) \ fmt 22 lib/pengine/pe_status_private.h do_crm_log(LOG_WARNING, fmt, ##args); fmt 25 lib/pengine/pe_status_private.h # define status_print(fmt, args...) \ fmt 28 lib/pengine/pe_status_private.h fprintf(stream, fmt, ##args); \ fmt 30 lib/pengine/pe_status_private.h status_printw(fmt, ##args); \ fmt 33 lib/pengine/pe_status_private.h fprintf(stream, fmt, ##args); \ fmt 36 lib/pengine/pe_status_private.h fprintf(stream, fmt, ##args); \ fmt 39 lib/pengine/pe_status_private.h do_crm_log(log_level, fmt, ##args); \ fmt 164 tools/crm_diff.c const char *fmt = NULL; fmt 168 tools/crm_diff.c fmt = crm_element_value(patch, "format"); fmt 172 tools/crm_diff.c crm_info("Patch: --- %d.%d.%d %s", del[0], del[1], del[2], fmt); fmt 135 tools/crm_mon.c all_includes(mon_output_format_t fmt) { fmt 136 tools/crm_mon.c if (fmt == mon_output_monitor || fmt == mon_output_plain || fmt == mon_output_console) { fmt 144 tools/crm_mon.c default_includes(mon_output_format_t fmt) { fmt 145 tools/crm_mon.c switch (fmt) { fmt 154 tools/crm_mon.c return all_includes(fmt); fmt 274 tools/crm_mon.c apply_include_exclude(GSList *lst, mon_output_format_t fmt, GError **error) { fmt 282 tools/crm_mon.c show |= default_includes(fmt); fmt 35 tools/crm_mon.h # define print_as(output_format, fmt, args...) if (output_format == mon_output_console) { \ fmt 36 tools/crm_mon.h printw(fmt, ##args); \ fmt 40 tools/crm_mon.h fprintf(stdout, fmt, ##args); \ fmt 43 tools/crm_mon.h # define print_as(output_format, fmt, args...) fprintf(stdout, fmt, ##args); fmt 73 tools/crm_simulate.c #define quiet_log(fmt, args...) do { \ fmt 75 tools/crm_simulate.c printf(fmt , ##args); \