summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerstats.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2017-11-29 11:31:08 -0800
committerOz Linden <oz@lindenlab.com>2017-11-29 11:31:08 -0800
commita12e282cd473d5b7fc3e23fdd8fdfed11cc88864 (patch)
treecf07df2ae2219009bdc8337f4f9b4f1247fbd65d /indra/newview/llviewerstats.cpp
parent28f3b032076929bf595c34ab10666930c7ea1464 (diff)
parent1693ccba58eef676df1f91e50627545ac35bb819 (diff)
merge changes for 5.0.9-release
Diffstat (limited to 'indra/newview/llviewerstats.cpp')
-rw-r--r--indra/newview/llviewerstats.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/newview/llviewerstats.cpp b/indra/newview/llviewerstats.cpp
index 5ce9ad03f6..64c4368be0 100644
--- a/indra/newview/llviewerstats.cpp
+++ b/indra/newview/llviewerstats.cpp
@@ -445,8 +445,6 @@ void send_stats()
LLViewerStats::instance().getRecording().pause();
- body["session_id"] = gAgentSessionID;
-
LLSD &agent = body["agent"];
time_t ltime;
@@ -601,9 +599,13 @@ void send_stats()
body["MinimalSkin"] = false;
+ LL_INFOS("LogViewerStatsPacket") << "Sending viewer statistics: " << body << LL_ENDL;
+
+ // The session ID token must never appear in logs
+ body["session_id"] = gAgentSessionID;
+
LLViewerStats::getInstance()->addToMessage(body);
- LL_INFOS("LogViewerStatsPacket") << "Sending viewer statistics: " << body << LL_ENDL;
LLCoreHttpUtil::HttpCoroutineAdapter::messageHttpPost(url, body,
"Statistics posted to sim", "Failed to post statistics to sim");
LLViewerStats::instance().getRecording().resume();