diff --git a/src/APStats.cpp b/src/APStats.cpp index ad7f931..ac2f898 100644 --- a/src/APStats.cpp +++ b/src/APStats.cpp @@ -185,7 +185,7 @@ namespace OpenWifi { DTP_.push_back(DTP); - if(DTP_.size()>1000) { + if(DTP_.size()>100) { DTP_.erase(DTP_.begin()); } diff --git a/src/RESTAPI/RESTAPI_board_timepoint_handler.cpp b/src/RESTAPI/RESTAPI_board_timepoint_handler.cpp index 70dc5d7..8338e26 100644 --- a/src/RESTAPI/RESTAPI_board_timepoint_handler.cpp +++ b/src/RESTAPI/RESTAPI_board_timepoint_handler.cpp @@ -131,11 +131,6 @@ namespace OpenWifi { for(const auto &j:i) { Poco::JSON::Object O; j.to_json(O); - - std::ostringstream OO; - O.stringify(OO); - std::cout << OO.str() << std::endl; - InnerArray.add(O); } Outer.add(InnerArray); diff --git a/src/RESTObjects/RESTAPI_AnalyticsObjects.cpp b/src/RESTObjects/RESTAPI_AnalyticsObjects.cpp index 3f23332..beafb54 100644 --- a/src/RESTObjects/RESTAPI_AnalyticsObjects.cpp +++ b/src/RESTObjects/RESTAPI_AnalyticsObjects.cpp @@ -58,7 +58,6 @@ namespace OpenWifi::AnalyticsObjects { } void DeviceInfo::to_json(Poco::JSON::Object &Obj) const { - std::cout << "OUT DeviceInfo" << std::endl;; field_to_json(Obj,"boardId",boardId); field_to_json(Obj,"type",type); field_to_json(Obj,"serialNumber",serialNumber); @@ -82,7 +81,6 @@ namespace OpenWifi::AnalyticsObjects { field_to_json(Obj,"locale",locale); field_to_json(Obj,"uptime",uptime); field_to_json(Obj,"memory",memory); - std::cout << "OUT DeviceInfo done" << std::endl;; } bool DeviceInfo::from_json(const Poco::JSON::Object::Ptr &Obj) { diff --git a/src/framework/MicroService.h b/src/framework/MicroService.h index 4b72788..dc9fc13 100644 --- a/src/framework/MicroService.h +++ b/src/framework/MicroService.h @@ -3420,7 +3420,6 @@ namespace OpenWifi { inline void MicroService::initialize(Poco::Util::Application &self) { // add the default services - std::cout << "Initialize MicroService" << std::endl; LoadConfigurationFile(); InitializeLoggingSystem();