fmt 47 daemons/controld/controld_fsa.c #define do_dot_log(fmt, args...) crm_trace( fmt, ##args) fmt 159 include/crm/common/logging.h # define do_crm_log(level, fmt, args...) do { \ fmt 162 include/crm/common/logging.h printf(fmt "\n" , ##args); \ fmt 167 include/crm/common/logging.h qb_log_from_external_source(__func__, __FILE__, fmt, \ fmt 183 include/crm/common/logging.h # define do_crm_log_unlikely(level, fmt, args...) do { \ fmt 190 include/crm/common/logging.h trace_cs = qb_log_callsite_get(__func__, __FILE__, fmt, \ fmt 194 include/crm/common/logging.h qb_log_from_external_source(__func__, __FILE__, fmt, \ fmt 273 include/crm/common/logging.h # define do_crm_log_alias(level, file, function, line, fmt, args...) do { \ fmt 276 include/crm/common/logging.h printf(fmt "\n" , ##args); \ fmt 281 include/crm/common/logging.h qb_log_from_external_source(function, file, fmt, (level), \ fmt 301 include/crm/common/logging.h # define crm_perror(level, fmt, args...) do { \ fmt 309 include/crm/common/logging.h fprintf(stderr, fmt ": %s (%d)\n" , ##args, err, errno);\ fmt 311 include/crm/common/logging.h do_crm_log((level), fmt ": %s (%d)" , ##args, err, errno); \ fmt 328 include/crm/common/logging.h # define crm_log_tag(level, tag, fmt, args...) do { \ fmt 337 include/crm/common/logging.h fmt, (level), __LINE__, converted_tag); \ fmt 341 include/crm/common/logging.h qb_log_from_external_source(__func__, __FILE__, fmt, \ fmt 348 include/crm/common/logging.h # define crm_emerg(fmt, args...) qb_log(LOG_EMERG, fmt , ##args) fmt 349 include/crm/common/logging.h # define crm_crit(fmt, args...) qb_logt(LOG_CRIT, 0, fmt , ##args) fmt 350 include/crm/common/logging.h # define crm_err(fmt, args...) qb_logt(LOG_ERR, 0, fmt , ##args) fmt 351 include/crm/common/logging.h # define crm_warn(fmt, args...) qb_logt(LOG_WARNING, 0, fmt , ##args) fmt 352 include/crm/common/logging.h # define crm_notice(fmt, args...) qb_logt(LOG_NOTICE, 0, fmt , ##args) fmt 353 include/crm/common/logging.h # define crm_info(fmt, args...) qb_logt(LOG_INFO, 0, fmt , ##args) fmt 355 include/crm/common/logging.h # define crm_debug(fmt, args...) do_crm_log_unlikely(LOG_DEBUG, fmt , ##args) fmt 356 include/crm/common/logging.h # define crm_trace(fmt, args...) do_crm_log_unlikely(LOG_TRACE, fmt , ##args) fmt 38 include/crm/common/logging_compat.h # define do_crm_log_always(level, fmt, args...) do { \ fmt 43 include/crm/common/logging_compat.h qb_log((level), fmt , ##args); \ fmt 24 include/crm/common/logging_internal.h # define pcmk__config_err(fmt...) do { \ fmt 26 include/crm/common/logging_internal.h crm_err(fmt); \ fmt 36 include/crm/common/logging_internal.h # define pcmk__config_warn(fmt...) do { \ fmt 38 include/crm/common/logging_internal.h crm_warn(fmt); \ 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 154 include/crm/pengine/internal.h #define pe_warn_once(pe_wo_bit, fmt...) do { \ fmt 157 include/crm/pengine/internal.h crm_warn(fmt); \ fmt 159 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 146 lib/common/logging.c char fmt[FMT_MAX]; fmt 157 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, fmt 163 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "(%%n"); fmt 166 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, "@%%f:%%l"); fmt 168 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, ")"); fmt 171 lib/common/logging.c offset += snprintf(fmt + offset, FMT_MAX - offset, " %%g\t%%p: %%b"); fmt 174 lib/common/logging.c qb_log_format_set(method, fmt); fmt 469 lib/common/patchset.c const char *fmt = NULL; fmt 493 lib/common/patchset.c fmt = crm_element_value(patchset, "format"); fmt 498 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 840 lib/common/xml.c log_xmllib_err(void *ctx, const char *fmt, ...) fmt 845 lib/common/xml.c log_xmllib_err(void *ctx, const char *fmt, ...) fmt 855 lib/common/xml.c va_start(ap, fmt); fmt 860 lib/common/xml.c "XML Error: ", fmt, ap); fmt 862 lib/common/xml.c PCMK__XML_LOG_BASE(LOG_ERR, TRUE, 0, "XML Error: ", fmt, ap); fmt 2241 lib/fencing/st_client.c #define api_log(level, fmt, args...) syslog(level, "%s: "fmt, __func__, args) fmt 153 lib/fencing/st_lha.c stonith_plugin(int priority, const char *fmt, ...) G_GNUC_PRINTF(2, 3); fmt 17 lib/pengine/pe_status_private.h # define status_print(fmt, args...) \ fmt 20 lib/pengine/pe_status_private.h fprintf(stream, fmt, ##args); \ fmt 23 lib/pengine/pe_status_private.h fprintf(stream, fmt, ##args); \ fmt 26 lib/pengine/pe_status_private.h fprintf(stream, fmt, ##args); \ fmt 29 lib/pengine/pe_status_private.h do_crm_log(log_level, fmt, ##args); \ fmt 165 tools/crm_diff.c const char *fmt = NULL; fmt 169 tools/crm_diff.c fmt = crm_element_value(patch, "format"); fmt 173 tools/crm_diff.c crm_info("Patch: --- %d.%d.%d %s", del[0], del[1], del[2], fmt); fmt 151 tools/crm_mon.c all_includes(mon_output_format_t fmt) { fmt 152 tools/crm_mon.c if (fmt == mon_output_monitor || fmt == mon_output_plain || fmt == mon_output_console) { fmt 160 tools/crm_mon.c default_includes(mon_output_format_t fmt) { fmt 161 tools/crm_mon.c switch (fmt) { fmt 170 tools/crm_mon.c return all_includes(fmt); fmt 290 tools/crm_mon.c apply_include_exclude(GSList *lst, mon_output_format_t fmt, GError **error) { fmt 298 tools/crm_mon.c show |= default_includes(fmt);