summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/logcontrol.xml
blob: 08741327a55b28ac168d51d6948862134cf3f1b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<llsd>
	<map>
		<!-- 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 -->
				<map>
					<key>level</key><string>ERROR</string>
					<key>functions</key>
						<array>
						</array>
					<key>classes</key>
						<array>
						</array>
					<key>files</key>
						<array>
						</array>
					<key>tags</key>
						<array>
							<string>ShaderLoading</string>
						</array>
				</map>
				<map>
					<key>level</key><string>INFO</string>
					<key>functions</key>
						<array>
						</array>
					<key>classes</key>
						<array>
						</array>
					<key>files</key>
						<array>
						</array>
					<key>tags</key>
						<array>
						</array>
				</map>
				<map>
					<key>level</key><string>DEBUG</string>
					<key>functions</key>
						<array>
						</array>
					<key>classes</key>
						<array>
						</array>
					<key>files</key>
						<array>
						</array>
					<key>tags</key>
						<array>
						<!-- sample entry for debugging specific items	
                             <string>AnimatedObjects</string>
						     <string>Avatar</string>
						     <string>Inventory</string>
						     <string>SceneLoadTiming</string>
						     <string>Avatar</string>
						     <string>Voice</string>		
						-->
						</array>
				</map>
      </array>
	</map>
</llsd>