Merge remote-tracking branch 'origin/remote_logging_refactoring' into remote_logging_refactoring
This commit is contained in:
commit
cbc56a3a64
3 changed files with 7 additions and 7 deletions
|
@ -288,7 +288,8 @@ unsigned Service::getClientLog(const std::string& clientId, std::string& resp)
|
|||
data << m_row.c_str() << std::endl;
|
||||
}
|
||||
|
||||
respDocument.AddMember("client_log", rapidjson::StringRef(data.str().c_str()), allocator);
|
||||
std::string log = data.str();
|
||||
respDocument.AddMember("client_log", rapidjson::StringRef(log.c_str()), allocator);
|
||||
|
||||
rapidjson::StringBuffer buffer(0, 4096);
|
||||
rapidjson::Writer<rapidjson::StringBuffer> writer(buffer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue