summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2018-08-24 21:55:07 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2018-08-24 21:55:07 +0100
commit9c6678b5e76c485ae915b539327069b43185e16f (patch)
treeee553de5e9069e9c63253b6341e3c67b8c751ac7 /indra/newview/app_settings
parentd1338384704fdd29a79500a0ed8a21c764d229c2 (diff)
SL-944 - logcontrol options to control which log recorders get used. This can be useful for performance reasons when especially verbose debug logging is needed.
Diffstat (limited to 'indra/newview/app_settings')
-rw-r--r--indra/newview/app_settings/logcontrol.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/indra/newview/app_settings/logcontrol.xml b/indra/newview/app_settings/logcontrol.xml
index ae57e125bb..08741327a5 100644
--- a/indra/newview/app_settings/logcontrol.xml
+++ b/indra/newview/app_settings/logcontrol.xml
@@ -3,6 +3,21 @@
<!-- default-level can be ALL, DEBUG, INFO, WARN, ERROR, or NONE -->
<key>default-level</key> <string>INFO</string>
<key>print-location</key> <boolean>false</boolean>
+ <key>log-always-flush</key> <boolean>true</boolean>
+ <!-- All log types are enabled by default. Can be toggled individually;
+ bitwise-or all the ones you want to enable.
+ Log types and their masks are:
+
+ 1 - RecordToSyslog (not used by viewer)
+ 2 - RecordToFile (SecondLife.log)
+ 4 - RecordToStderr (this will appear in the console window, if there is one)
+ 8 - RecordToFixedBuffer (viewer debug console)
+ 16 - RecordToWinDebug (on windows, output to VS IDE window)
+
+ For example, value of 10 = 2|8 would enable logging only to SecondLife.log and the viewer debug console.
+ Note: RecordToFile is always enabled in release builds.
+ -->
+ <key>enabled-log-types-mask</key> <integer>0xFFFFFFFF</integer>
<key>settings</key>
<array>
<!-- Suppress anything but ERROR for some very verbose components -->