diff --git a/indra/llcommon/llcallstack.cpp b/indra/llcommon/llcallstack.cpp
index 9978645ff41735c6f4d96dcc91a0b567b685a203..8db291eed189aa7f9c3df8519c368a02139f269f 100644
--- a/indra/llcommon/llcallstack.cpp
+++ b/indra/llcommon/llcallstack.cpp
@@ -104,11 +104,15 @@ bool LLCallStack::contains(const std::string& str)
 
 std::ostream& operator<<(std::ostream& s, const LLCallStack& call_stack)
 {
+#ifndef LL_RELEASE_FOR_DOWNLOAD
     std::vector<std::string>::const_iterator it;
     for (it=call_stack.m_strings.begin(); it!=call_stack.m_strings.end(); ++it)
     {
         s << *it;
     }
+#else
+    s << "UNAVAILABLE IN RELEASE";
+#endif
     return s;
 }