summaryrefslogtreecommitdiffstats
path: root/common/log.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-06-17 21:52:44 +0200
committerSimon Glass <sjg@chromium.org>2020-07-09 18:57:22 -0600
commit3c21d7738a793bb7713df5ac4de434c680fa249f (patch)
treeed06f563175b03bbecf4a42df12a6b58add6e592 /common/log.c
parent8af45b1f20f7f56a872297873f793655fe37f8e3 (diff)
downloadu-boot-3c21d7738a793bb7713df5ac4de434c680fa249f.tar.gz
u-boot-3c21d7738a793bb7713df5ac4de434c680fa249f.tar.xz
u-boot-3c21d7738a793bb7713df5ac4de434c680fa249f.zip
log: don't show function by default
The name of the function emitting a log message may be of interest for a developer but is distracting for normal users. See the example below: try_load_entry() Booting: Debian Make the default format for log messages customizable. By default show only the message text. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/log.c')
-rw-r--r--common/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/log.c b/common/log.c
index d7ce74f6b3..734d26de4a 100644
--- a/common/log.c
+++ b/common/log.c
@@ -321,7 +321,7 @@ int log_init(void)
gd->flags |= GD_FLG_LOG_READY;
if (!gd->default_log_level)
gd->default_log_level = CONFIG_LOG_DEFAULT_LEVEL;
- gd->log_fmt = LOGF_DEFAULT;
+ gd->log_fmt = log_get_default_format();
return 0;
}