summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerstats.cpp
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2015-05-07 18:33:31 +0300
committerandreykproductengine <akleshchev@productengine.com>2015-05-07 18:33:31 +0300
commit91f3bd942ade61dba00f76d7dd59ab48a7f64c04 (patch)
treebfc6e923f738dc38a53bf767a79436de99baf43e /indra/newview/llviewerstats.cpp
parent0d5d0060950b632eacd865b18af8bb5cf94732fb (diff)
MAINT-5187 FIXED Add control for local logging of viewer stat packet contents
Diffstat (limited to 'indra/newview/llviewerstats.cpp')
-rwxr-xr-xindra/newview/llviewerstats.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llviewerstats.cpp b/indra/newview/llviewerstats.cpp
index f60829e9e8..24a6758312 100755
--- a/indra/newview/llviewerstats.cpp
+++ b/indra/newview/llviewerstats.cpp
@@ -60,6 +60,7 @@
#include "llfeaturemanager.h"
#include "llviewernetwork.h"
#include "llmeshrepository.h" //for LLMeshRepository::sBytesReceived
+#include "llsdserialize.h"
namespace LLStatViewer
{
@@ -616,8 +617,10 @@ void send_stats()
body["DisplayNamesShowUsername"] = gSavedSettings.getBOOL("NameTagShowUsernames");
body["MinimalSkin"] = false;
-
+
LLViewerStats::getInstance()->addToMessage(body);
+
+ LL_INFOS("LogViewerStatsPacket") << "Sending viewer statistics: " << body << LL_ENDL;
LLHTTPClient::post(url, body, new ViewerStatsResponder());
LLViewerStats::instance().getRecording().resume();