summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib
diff options
context:
space:
mode:
authorA. Maitland Bottoms <bottoms@debian.org>2020-11-21 13:36:21 -0500
committerMarcus Müller <marcus@hostalia.de>2020-12-19 01:02:10 +0100
commita5e49d9120e8d0d7adf4de792cc3c4bc1a6defbc (patch)
tree7ecd0a15cbdb5f6c3f7b599d02bb2573c149eed5 /gnuradio-runtime/lib
parent7e112bfd12731073ac2970aa97f789abeb6f7e88 (diff)
RPC fixes to allow using Thrift-0.13
Adds ability for master to build with newer Thrift versions by checking availability of thrift include files. (Also spelling fix: Thift -> Thrift) And fix up logging for rpcserver_thrift class.
Diffstat (limited to 'gnuradio-runtime/lib')
-rw-r--r--gnuradio-runtime/lib/controlport/thrift/rpcserver_thrift.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnuradio-runtime/lib/controlport/thrift/rpcserver_thrift.cc b/gnuradio-runtime/lib/controlport/thrift/rpcserver_thrift.cc
index c2613c5c80..8a8cb54721 100644
--- a/gnuradio-runtime/lib/controlport/thrift/rpcserver_thrift.cc
+++ b/gnuradio-runtime/lib/controlport/thrift/rpcserver_thrift.cc
@@ -23,9 +23,13 @@
using namespace rpcpmtconverter;
+gr::logger_ptr rpcserver_thrift::d_logger;
+gr::logger_ptr rpcserver_thrift::d_debug_logger;
+
+
rpcserver_thrift::rpcserver_thrift()
{
- gr::configure_default_loggers(logger, debug_logger, "rpcserver_thrift");
+ gr::configure_default_loggers(d_logger, d_debug_logger, "rpcserver_thrift");
// std::cerr << "rpcserver_thrift::ctor" ;
}
@@ -273,7 +277,7 @@ void rpcserver_thrift::shutdown()
{
if (DEBUG) {
std::ostringstream msg;
- msg << "shutting down... " << id;
+ msg << "shutting down rpcserver_thrift... ";
GR_LOG_INFO(d_debug_logger, msg.str());
}
}