summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2017-11-07 15:44:06 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2017-11-07 15:44:06 +0200
commitc372862a7acabdfbbbc453175270136dfdf72d68 (patch)
tree276f5ccd7d03128b7f7a752bb763ee72a3a45aeb /indra
parente848127f232ee902bb7b6b9be5a6aedb68180cac (diff)
MAINT-7966 Second Life viewer logs session ID in SecondLife.log
Diffstat (limited to 'indra')
-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 7f88d5e30f..769182415d 100644
--- a/indra/newview/llviewerstats.cpp
+++ b/indra/newview/llviewerstats.cpp
@@ -444,8 +444,6 @@ void send_stats()
LLViewerStats::instance().getRecording().pause();
- body["session_id"] = gAgentSessionID;
-
LLSD &agent = body["agent"];
time_t ltime;
@@ -598,9 +596,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();