summaryrefslogtreecommitdiffstats
path: root/discover/parser.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-11-01 10:31:00 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-11-01 15:32:52 +0800
commit089d0a6eb769d531129a7cd1061493a1a24b4bef (patch)
tree62e6b58e6a9cd9b19ac9f7a8986b9d01cfe5ec70 /discover/parser.c
parent896da834e7126759ef69c33347055c593abedde3 (diff)
downloadtalos-petitboot-089d0a6eb769d531129a7cd1061493a1a24b4bef.tar.gz
talos-petitboot-089d0a6eb769d531129a7cd1061493a1a24b4bef.zip
logging: Clean up debug logs
We have quite a few pb_logs which should be pb_debug. This change moves developer-specific info to pb_debug. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/parser.c')
-rw-r--r--discover/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/discover/parser.c b/discover/parser.c
index e83b994..7b70118 100644
--- a/discover/parser.c
+++ b/discover/parser.c
@@ -140,7 +140,7 @@ void iterate_parsers(struct discover_context *ctx, enum conf_method method)
if (i->parser->method != CONF_METHOD_LOCAL_FILE)
continue;
- pb_log("\ttrying parser '%s'\n", i->parser->name);
+ pb_debug("\ttrying parser '%s'\n", i->parser->name);
ctx->parser = i->parser;
iterate_parser_files(ctx, ctx->parser);
}
@@ -158,7 +158,7 @@ void iterate_parsers(struct discover_context *ctx, enum conf_method method)
if (i->parser->method != method)
continue;
- pb_log("\ttrying parser '%s'\n", i->parser->name);
+ pb_debug("\ttrying parser '%s'\n", i->parser->name);
ctx->parser = i->parser;
i->parser->parse(ctx, buf, len);
}
OpenPOWER on IntegriCloud