reduce log spam

This commit is contained in:
Enno Rehling 2015-11-21 21:49:33 +01:00
parent 8e4b9283a3
commit f0a47321d6
2 changed files with 3 additions and 3 deletions

View file

@ -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;
}

View file

@ -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;
}