From 30c0eb710d44551328e5f2008e00722e70dc772e Mon Sep 17 00:00:00 2001
From: Nicolas Pope <nwpope@utu.fi>
Date: Wed, 5 Jun 2019 09:47:36 +0300
Subject: [PATCH] Remote static logging

---
 components/rgbd-sources/src/disparity.cpp   | 2 +-
 components/rgbd-sources/src/rgbd_source.cpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/rgbd-sources/src/disparity.cpp b/components/rgbd-sources/src/disparity.cpp
index 27dd16dc0..e482fa60c 100644
--- a/components/rgbd-sources/src/disparity.cpp
+++ b/components/rgbd-sources/src/disparity.cpp
@@ -33,7 +33,7 @@ Disparity *Disparity::create(ftl::Configurable *parent, const std::string &name)
 void Disparity::_register(const std::string &n,
 		std::function<Disparity*(ftl::Configurable *, const std::string &)> f) {
 	if (!algorithms__) algorithms__ = new std::map<std::string, std::function<Disparity*(ftl::Configurable *, const std::string &)>>;
-	LOG(INFO) << "Register disparity algorithm: " << n;
+	//LOG(INFO) << "Register disparity algorithm: " << n;
 	(*algorithms__)[n] = f;
 }
 
diff --git a/components/rgbd-sources/src/rgbd_source.cpp b/components/rgbd-sources/src/rgbd_source.cpp
index 8399a516c..9a8d1c08b 100644
--- a/components/rgbd-sources/src/rgbd_source.cpp
+++ b/components/rgbd-sources/src/rgbd_source.cpp
@@ -65,7 +65,7 @@ RGBDSource *RGBDSource::create(nlohmann::json &config, ftl::net::Universe *net)
 void RGBDSource::_register(const std::string &n,
 		std::function<RGBDSource*(nlohmann::json&,ftl::net::Universe*)> f) {
 	if (!sources__) sources__ = new std::map<std::string, std::function<RGBDSource*(nlohmann::json&,ftl::net::Universe*)>>;
-	LOG(INFO) << "Register RGB-D Source: " << n;
+	//LOG(INFO) << "Register RGB-D Source: " << n;
 	(*sources__)[n] = f;
 }
 
-- 
GitLab