From 0ceb204a8307594890969358a4a33dc26623bd7a Mon Sep 17 00:00:00 2001 From: stephb9959 Date: Fri, 27 May 2022 15:38:58 -0700 Subject: [PATCH] Removing extraneous logs --- src/DeviceStatusReceiver.cpp | 2 +- src/HealthReceiver.cpp | 2 +- src/StateReceiver.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/DeviceStatusReceiver.cpp b/src/DeviceStatusReceiver.cpp index 7731be4..b32af69 100644 --- a/src/DeviceStatusReceiver.cpp +++ b/src/DeviceStatusReceiver.cpp @@ -74,7 +74,7 @@ namespace OpenWifi { void DeviceStatusReceiver::DeviceStatusReceived(const std::string &Key, const std::string &Payload) { std::lock_guard G(Mutex_); - Logger().information(fmt::format("Device({}): Connection/Ping message.", Key)); + poco_debug(Logger(),fmt::format("Device({}): Connection/Ping message.", Key)); Queue_.enqueueNotification( new DeviceStatusMessage(Key,Payload)); } } \ No newline at end of file diff --git a/src/HealthReceiver.cpp b/src/HealthReceiver.cpp index 9c71463..d1a00ad 100644 --- a/src/HealthReceiver.cpp +++ b/src/HealthReceiver.cpp @@ -74,7 +74,7 @@ namespace OpenWifi { void HealthReceiver::HealthReceived(const std::string &Key, const std::string &Payload) { std::lock_guard G(Mutex_); - Logger().information(fmt::format("Device({}): Health message.", Key)); + poco_debug(Logger(),fmt::format("Device({}): Health message.", Key)); Queue_.enqueueNotification( new HealthMessage(Key,Payload)); } } \ No newline at end of file diff --git a/src/StateReceiver.cpp b/src/StateReceiver.cpp index 10b4c0e..b09283b 100644 --- a/src/StateReceiver.cpp +++ b/src/StateReceiver.cpp @@ -58,7 +58,7 @@ namespace OpenWifi { void StateReceiver::StateReceived( const std::string & Key, const std::string & Payload) { std::lock_guard G(Mutex_); - Logger().information(fmt::format("Device({}): State message.", Key)); + poco_debug(Logger(),fmt::format("Device({}): State message.", Key)); Queue_.enqueueNotification( new StateMessage(Key,Payload)); }