In particular this turns off those debug logs by default.
#define IDLE_TIMEOUT 1000000 // ns (THREAD_CPUTIME); if exceeded, continue processing after next poll phase
#define MAX_WAITING_REQS 10000 // if exceeded, process single deferred request immediatelly in poll phase
-#define VERBOSE_LOG(...) kr_log_notice(DEVEL, "defer | " __VA_ARGS__)
-//#define VERBOSE_LOG(...)
+#define VERBOSE_LOG(...) kr_log_debug(DEFER, " | " __VA_ARGS__)
struct defer {
size_t capacity;
GRP_NAME_ITEM(LOG_GRP_EDE),
GRP_NAME_ITEM(LOG_GRP_RULES),
GRP_NAME_ITEM(LOG_GRP_PROTOLAYER),
+ GRP_NAME_ITEM(LOG_GRP_DEFER),
GRP_NAME_ITEM(LOG_GRP_REQDBG),
{ NULL, LOG_GRP_UNKNOWN },
};
LOG_GRP_EDE,
LOG_GRP_RULES,
LOG_GRP_PROTOLAYER,
+ LOG_GRP_DEFER,
/* ^^ Add new log groups above ^^. */
LOG_GRP_REQDBG, /* Must be first non-displayed entry in enum! */
};
#define LOG_GRP_EDE_TAG "exterr" /**< ``exterr``: extended error module */
#define LOG_GRP_RULES_TAG "rules" /**< ``rules``: new policy rules (their processing) */
#define LOG_GRP_PROTOLAYER_TAG "prlayr" /**< ``prlayr``: protocol layer system (session2) */
+#define LOG_GRP_DEFER_TAG "defer" /**< ``defer``: prioritization of requests */
#define LOG_GRP_REQDBG_TAG "reqdbg" /**< ``reqdbg``: debug logs enabled by policy actions */
///@}