diff --git a/ws/ixcobra/IXCobraMetricsPublisher.cpp b/ws/ixcobra/IXCobraMetricsPublisher.cpp index 3b804542..f6fdc375 100644 --- a/ws/ixcobra/IXCobraMetricsPublisher.cpp +++ b/ws/ixcobra/IXCobraMetricsPublisher.cpp @@ -13,8 +13,8 @@ namespace ix { const int CobraMetricsPublisher::kVersion = 1; - const std::string CobraMetricsPublisher::kSetRateControlId = "cms_set_rate_control_id"; - const std::string CobraMetricsPublisher::kSetBlacklistId = "cms_set_blacklist_id"; + const std::string CobraMetricsPublisher::kSetRateControlId = "sms_set_rate_control_id"; + const std::string CobraMetricsPublisher::kSetBlacklistId = "sms_set_blacklist_id"; CobraMetricsPublisher::CobraMetricsPublisher() : _enabled(false) diff --git a/ws/ws.cpp b/ws/ws.cpp index b520cd51..44ae286c 100644 --- a/ws/ws.cpp +++ b/ws/ws.cpp @@ -30,7 +30,7 @@ int main(int argc, char** argv) ix::IXCoreLogger::LogFunc logFunc = [](const char* msg) { - std::cout << msg << std::endl; + std::cerr << msg << std::endl; }; ix::IXCoreLogger::setLogFunction(logFunc);