From d289a24412b76dc465bc147548e737e36d878461 Mon Sep 17 00:00:00 2001 From: rjawor Date: Fri, 17 May 2019 23:54:39 +0200 Subject: [PATCH] removed logging --- concordia-server/concordia_server.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/concordia-server/concordia_server.cpp b/concordia-server/concordia_server.cpp index 30a1e66..b11eac9 100644 --- a/concordia-server/concordia_server.cpp +++ b/concordia-server/concordia_server.cpp @@ -47,7 +47,7 @@ std::string ConcordiaServer::handleRequest(std::string & requestString) { outputString << "Content-type: application/json\r\n\r\n"; try { rapidjson::Document d; - Logger::logString("concordia request string", requestString); + // Logger::logString("concordia request string", requestString); bool hasError = d.Parse(requestString.c_str()).HasParseError(); if (hasError) { @@ -83,9 +83,6 @@ std::string ConcordiaServer::handleRequest(std::string & requestString) { targetSentences.push_back(examplesArray[i][2].GetString()); alignments.push_back(_getInt2DArray(examplesArray[i][3])); sourceIds.push_back(examplesArray[i][4].GetInt()); - Logger::logString("sourceSentence", examplesArray[i][0].GetString()); - Logger::logString("lemmatizedSourceSentence", examplesArray[i][1].GetString()); - Logger::logString("targetSentence", examplesArray[i][2].GetString()); } } _indexController->addSentences(jsonWriter, sourceSentences, lemmatizedSourceSentences, targetSentences, alignments, sourceIds, tmId);