diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-11-01 10:31:00 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-11-01 15:32:52 +0800 |
commit | 089d0a6eb769d531129a7cd1061493a1a24b4bef (patch) | |
tree | 62e6b58e6a9cd9b19ac9f7a8986b9d01cfe5ec70 /ui/common | |
parent | 896da834e7126759ef69c33347055c593abedde3 (diff) | |
download | talos-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/common')
-rw-r--r-- | ui/common/joystick.c | 2 | ||||
-rw-r--r-- | ui/common/ps3.c | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/ui/common/joystick.c b/ui/common/joystick.c index 94c85fe..4faf8b6 100644 --- a/ui/common/joystick.c +++ b/ui/common/joystick.c @@ -94,7 +94,7 @@ struct pjs *pjs_init(void *ctx, int (*map)(const struct js_event *)) talloc_set_destructor(pjs, pjs_destructor); - pb_log("%s: using %s\n", __func__, dev_name); + pb_debug("%s: using %s\n", __func__, dev_name); return pjs; diff --git a/ui/common/ps3.c b/ui/common/ps3.c index c62a10d..d3ca6d6 100644 --- a/ui/common/ps3.c +++ b/ui/common/ps3.c @@ -141,11 +141,11 @@ int ps3_flash_get_values(struct ps3_flash_values *values) if (!result) values->video_mode = (uint16_t)tmp; - pb_log("%s: default_item: %x\n", __func__, + pb_debug("%s: default_item: %x\n", __func__, (unsigned int)values->default_item); - pb_log("%s: timeout: %u\n", __func__, + pb_debug("%s: timeout: %u\n", __func__, (unsigned int)values->timeout); - pb_log("%s: video_mode: %u\n", __func__, + pb_debug("%s: video_mode: %u\n", __func__, (unsigned int)values->video_mode); fail: return (result || sum) ? -1 : 0; @@ -163,8 +163,8 @@ int ps3_flash_set_values(const struct ps3_flash_values *values) int result; struct ps3_flash_ctx fc; - pb_log("%s: default_item: %u\n", __func__, values->default_item); - pb_log("%s: video_mode: %u\n", __func__, values->video_mode); + pb_debug("%s: default_item: %u\n", __func__, values->default_item); + pb_debug("%s: video_mode: %u\n", __func__, values->video_mode); result = ps3_flash_open(&fc, "r+"); @@ -245,7 +245,7 @@ static int ps3_video_ioctl(int request, unsigned int *mode_id) int ps3_set_video_mode(unsigned int mode_id) { - pb_log("%s: %u\n", __func__, mode_id); + pb_debug("%s: %u\n", __func__, mode_id); return ps3_video_ioctl(PS3FB_IOCTL_SETMODE, &mode_id); } |