mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-11-01 19:27:59 +00:00
Removing extra logging.
This commit is contained in:
@@ -3076,10 +3076,10 @@ namespace OpenWifi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
inline Poco::Logger & GetLogger(const std::string &Name) {
|
inline Poco::Logger & GetLogger(const std::string &Name) {
|
||||||
static auto initilized = false;
|
static auto initialized = false;
|
||||||
|
|
||||||
if(!initilized) {
|
if(!initialized) {
|
||||||
initilized = true;
|
initialized = true;
|
||||||
InitializeLoggingSystem();
|
InitializeLoggingSystem();
|
||||||
}
|
}
|
||||||
return Poco::Logger::get(Name);
|
return Poco::Logger::get(Name);
|
||||||
@@ -3237,9 +3237,9 @@ namespace OpenWifi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
auto i=Services_.begin();
|
auto i=Services_.begin();
|
||||||
auto Now = (uint64_t )std::time(nullptr);
|
auto now = OpenWifi::Now();
|
||||||
for(;i!=Services_.end();) {
|
for(;i!=Services_.end();) {
|
||||||
if((Now - i->second.LastUpdate)>60) {
|
if((now - i->second.LastUpdate)>60) {
|
||||||
i = Services_.erase(i);
|
i = Services_.erase(i);
|
||||||
} else
|
} else
|
||||||
++i;
|
++i;
|
||||||
|
|||||||
Reference in New Issue
Block a user