summaryrefslogtreecommitdiffstats
path: root/ui/twin/pbt-client.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 /ui/twin/pbt-client.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 'ui/twin/pbt-client.c')
-rw-r--r--ui/twin/pbt-client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/twin/pbt-client.c b/ui/twin/pbt-client.c
index dba6110..21ed524 100644
--- a/ui/twin/pbt-client.c
+++ b/ui/twin/pbt-client.c
@@ -58,7 +58,7 @@ static int pbt_client_boot(struct pbt_item *item)
int result;
struct pb_opt_data *opt_data = pbt_opt_data_from_item(item);
- pb_log("%s: %s\n", __func__, pbt_item_name(item));
+ pb_debug("%s: %s\n", __func__, pbt_item_name(item));
pbt_frame_status_printf(&item->pbt_client->frame, "Booting %s...",
pbt_item_name(item));
@@ -88,7 +88,7 @@ static int pbt_device_add(struct device *dev, struct pbt_client *client)
struct pbt_quad q;
const char *icon_file;
- pb_log("%s: %p %s: n_options %d\n", __func__, dev, dev->id,
+ pb_debug("%s: %p %s: n_options %d\n", __func__, dev, dev->id,
dev->n_options);
pb_protocol_dump_device(dev, "", pb_log_get_stream());
@@ -181,7 +181,7 @@ static void pbt_device_remove(struct device *dev, struct pbt_client *client)
struct pbt_item *next_item;
struct pbt_item *i;
- pb_log("%s: %p %s: n_options %d\n", __func__, dev, dev->id,
+ pb_debug("%s: %p %s: n_options %d\n", __func__, dev, dev->id,
dev->n_options);
pb_protocol_dump_device(dev, "", pb_log_get_stream());
@@ -245,7 +245,7 @@ static struct discover_client_ops pbt_client_ops = {
static void pbt_client_destructor(struct pbt_client *client)
{
- pb_log("%s\n", __func__);
+ pb_debug("%s\n", __func__);
// move to screen twin_x11_destroy(twin_ctx);
talloc_free(client->discover_client);
OpenPOWER on IntegriCloud