diff options
author | andreykproductengine <akleshchev@productengine.com> | 2015-07-15 14:59:32 +0300 |
---|---|---|
committer | andreykproductengine <akleshchev@productengine.com> | 2015-07-15 14:59:32 +0300 |
commit | e03c133750a09a2e83c49fafb4fb48307fca8a22 (patch) | |
tree | d9ae3c8d5fc31cd8a7887a2497be2b8556c5aaa0 /indra/llcommon | |
parent | d43cef4ed5a012593ff31c4ef9c0356edbea5339 (diff) | |
parent | 02441157a0d22619ccf2a2ee735c8f5251b54fdb (diff) |
Merge from viewer-relese and become version 3.8.2
Diffstat (limited to 'indra/llcommon')
-rwxr-xr-x | indra/llcommon/llerror.cpp | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/indra/llcommon/llerror.cpp b/indra/llcommon/llerror.cpp index 2100989316..5ed348e13c 100755 --- a/indra/llcommon/llerror.cpp +++ b/indra/llcommon/llerror.cpp @@ -119,6 +119,7 @@ namespace { LL_INFOS() << "Error setting log file to " << filename << LL_ENDL; } mWantsTime = true; + mWantsTags = true; } ~RecordToFile() @@ -558,7 +559,7 @@ namespace LLError mFunctionString += std::string(mFunction) + ":"; for (size_t i = 0; i < mTagCount; i++) { - mTagString += std::string("#") + mTags[i] + ((i == mTagCount - 1) ? "" : " "); + mTagString += std::string("#") + mTags[i] + ((i == mTagCount - 1) ? "" : ","); } } @@ -931,14 +932,19 @@ namespace } if (show_level && r->wantsLevel()) - { - message_stream << site.mLevelString << " "; - } + { + message_stream << site.mLevelString; + } if (show_tags && r->wantsTags()) { - message_stream << site.mTagString << " "; + message_stream << site.mTagString; } + if ((show_level && r->wantsLevel())|| + (show_tags && r->wantsTags())) + { + message_stream << " "; + } if (show_function && r->wantsFunctionName()) { |