Dump the whole login response to the log file only in the debug builds

This commit is contained in:
Latif Khalifa
2013-10-11 10:12:35 +02:00
parent 9429b875aa
commit 926e76adea

View File

@@ -1404,9 +1404,9 @@ bool idle_startup()
message_response = response["message"].asString(); message_response = response["message"].asString();
message_id = response["message_id"].asString(); message_id = response["message_id"].asString();
{ {
std::stringstream dump_str; std::stringstream dump_str;
dump_str << response; dump_str << response;
llinfos << dump_str.str() << llendl; LL_DEBUGS("AppInit") << dump_str.str() << LL_ENDL;
} }
if(login_response == "true") if(login_response == "true")