Skip to content

Commit 3ee734d

Browse files
Removed logs
1 parent 37ce309 commit 3ee734d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ton-http-api/handler_api_v2.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ std::string ApiV2Handler::HandleRequestThrow(
139139
for (auto it = body.begin(); it != body.end(); ++it) {
140140
auto value = parse_request_body_item(*it, 1);
141141
req.SetArgVector(it.GetName(), value);
142-
std::stringstream ss1;
143-
for (auto& i : value) { ss1 << i << ";"; }
144-
LOG_ERROR_TO(*logger_) << "arg: " << it.GetName() << " size: " << value.size() << " value: " << ss1.str();
142+
// std::stringstream ss1;
143+
// for (auto& i : value) { ss1 << i << ";"; }
144+
// LOG_ERROR_TO(*logger_) << "arg: " << it.GetName() << " size: " << value.size() << " value: " << ss1.str();
145145
}
146146
} catch (const userver::formats::json::ParseException& e) {
147147
request.GetHttpResponse().SetContentType(userver::http::content_type::kApplicationJson);
@@ -173,9 +173,9 @@ std::string ApiV2Handler::HandleRequestThrow(
173173
for (auto it = body.begin(); it != body.end(); ++it) {
174174
auto value = parse_request_body_item(*it, 1);
175175
jsonrpc_req.SetArgVector(it.GetName(), value);
176-
std::stringstream ss1;
177-
for (auto& i : value) { ss1 << i << ";"; }
178-
LOG_ERROR_TO(*logger_) << "arg: " << it.GetName() << " size: " << value.size() << " value: " << ss1.str();
176+
// std::stringstream ss1;
177+
// for (auto& i : value) { ss1 << i << ";"; }
178+
// LOG_ERROR_TO(*logger_) << "arg: " << it.GetName() << " size: " << value.size() << " value: " << ss1.str();
179179
}
180180
req = std::move(jsonrpc_req);
181181
}

0 commit comments

Comments
 (0)