commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 01/01: controlport: make sure to use to con


From: git
Subject: [Commit-gnuradio] [gnuradio] 01/01: controlport: make sure to use to configured d_logger in thrift code.
Date: Wed, 17 Jun 2015 19:36:56 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

trondeau pushed a commit to branch master
in repository gnuradio.

commit 7b684a238f05608abff3d10b728901d9665569e5
Author: Tom Rondeau <address@hidden>
Date:   Wed Jun 17 15:31:58 2015 -0400

    controlport: make sure to use to configured d_logger in thrift code.
---
 gnuradio-runtime/include/gnuradio/thrift_application_base.h        | 4 ++--
 gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnuradio-runtime/include/gnuradio/thrift_application_base.h 
b/gnuradio-runtime/include/gnuradio/thrift_application_base.h
index 33b8437..d58f034 100644
--- a/gnuradio-runtime/include/gnuradio/thrift_application_base.h
+++ b/gnuradio-runtime/include/gnuradio/thrift_application_base.h
@@ -217,8 +217,8 @@ void thrift_application_base<TserverBase, 
TserverClass>::start_application()
     }
 
     if(!app_started) {
-      GR_WARN("thrift", "thrift_application_base::start_application(), "
-              "timeout waiting to port number might have failed?");
+      GR_LOG_WARN(d_logger, "thrift_application_base::start_application(), "
+                  "timeout waiting to port number might have failed?");
     }
 
     p_impl->d_application_initilized = true;
diff --git a/gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc 
b/gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc
index 3284fa0..1d6cafe 100644
--- a/gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc
+++ b/gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc
@@ -124,7 +124,7 @@ bool thrift_application_base<rpcserver_base, 
rpcserver_booter_thrift>::applicati
 
     set_endpoint(endpoint);
 
-    GR_INFO("thrift_application_base", "Apache Thrift: " + endpoint);
+    GR_LOG_INFO(d_logger, "Apache Thrift: " + endpoint);
     d_thirft_is_running = true;
     result = true;
   }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]