diff options
author | Oz Linden <oz@lindenlab.com> | 2017-11-29 11:31:08 -0800 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2017-11-29 11:31:08 -0800 |
commit | a12e282cd473d5b7fc3e23fdd8fdfed11cc88864 (patch) | |
tree | cf07df2ae2219009bdc8337f4f9b4f1247fbd65d /indra/newview/llviewerstats.cpp | |
parent | 28f3b032076929bf595c34ab10666930c7ea1464 (diff) | |
parent | 1693ccba58eef676df1f91e50627545ac35bb819 (diff) |
merge changes for 5.0.9-release
Diffstat (limited to 'indra/newview/llviewerstats.cpp')
-rw-r--r-- | indra/newview/llviewerstats.cpp | 8 |
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(); |