summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/tpb_thread_body.cc
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-03-03 18:16:26 -0500
committerTom Rondeau <tom@trondeau.com>2014-03-03 18:16:26 -0500
commit310893be4ba50c67c7892c9f2b8d4eb31963ba74 (patch)
tree119659cd388cd0c6b0e9faadbe75982135d1e19d /gnuradio-runtime/lib/tpb_thread_body.cc
parent608b5890e4e4dbc76f3e48eacd2ff00fa8b59548 (diff)
runtime: setting proper default value for log_level if no prefs file is found.
Diffstat (limited to 'gnuradio-runtime/lib/tpb_thread_body.cc')
-rw-r--r--gnuradio-runtime/lib/tpb_thread_body.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-runtime/lib/tpb_thread_body.cc b/gnuradio-runtime/lib/tpb_thread_body.cc
index 233bbda9e7..7cdee6a097 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);