[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 01/01: runtime: setting proper default valu
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 01/01: runtime: setting proper default value for log_level if no prefs file is found. |
Date: |
Mon, 3 Mar 2014 23:17:54 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
trondeau pushed a commit to branch maint
in repository gnuradio.
commit 310893be4ba50c67c7892c9f2b8d4eb31963ba74
Author: Tom Rondeau <address@hidden>
Date: Mon Mar 3 18:16:26 2014 -0500
runtime: setting proper default value for log_level if no prefs file is
found.
---
gnuradio-runtime/lib/tpb_thread_body.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnuradio-runtime/lib/tpb_thread_body.cc
b/gnuradio-runtime/lib/tpb_thread_body.cc
index 233bbda..7cdee6a 100644
--- a/gnuradio-runtime/lib/tpb_thread_body.cc
+++ b/gnuradio-runtime/lib/tpb_thread_body.cc
@@ -52,7 +52,7 @@ namespace gr {
#ifdef HAVE_LOG4CPP
#undef LOG
std::string config_file = p->get_string("LOG", "log_config", "");
- std::string log_level = p->get_string("LOG", "log_level", "");
+ std::string log_level = p->get_string("LOG", "log_level", "off");
std::string log_file = p->get_string("LOG", "log_file", "");
GR_LOG_GETLOGGER(LOG, "gr_log.tpb_thread_body");
GR_LOG_SET_LEVEL(LOG, log_level);