diff options
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 256e69d029..db2897d387 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; @@ -600,9 +598,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(); |