From f0a47321d6b1fc71421e2703a8f3eeae2e4391de Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 21 Nov 2015 21:49:33 +0100 Subject: [PATCH] reduce log spam --- src/kernel/jsonconf.c | 2 +- src/util/umlaut.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/kernel/jsonconf.c b/src/kernel/jsonconf.c index 9efbc0250..a16cef76f 100644 --- a/src/kernel/jsonconf.c +++ b/src/kernel/jsonconf.c @@ -526,7 +526,7 @@ static void disable_feature(const char *str) { for (k = 0; k != MAXKEYWORDS; ++k) { // FIXME: this loop is slow as balls. if (strcmp(keywords[k], str) == 0) { - log_info("disable keyword %s\n", str); + log_debug("disable keyword %s\n", str); enable_keyword(k, false); return; } diff --git a/src/util/umlaut.c b/src/util/umlaut.c index 73a4195c2..872ad8ffd 100644 --- a/src/util/umlaut.c +++ b/src/util/umlaut.c @@ -260,7 +260,7 @@ int findtoken(const void * root, const char *key, variant * result) ref = ref->nexthash; str += len; if (!ref) { - log_info("findtoken | token not found '%s'\n", key); + log_debug("findtoken | token not found '%s'\n", key); return E_TOK_NOMATCH; } tk = ref->node; @@ -269,6 +269,6 @@ int findtoken(const void * root, const char *key, variant * result) *result = tk->id; return E_TOK_SUCCESS; } - log_info("findtoken | token not found '%s'\n", key); + log_debug("findtoken | token not found '%s'\n", key); return E_TOK_NOMATCH; }