Update ooo320-m1
[ooovba.git] / officecfg / registry / schema / org / openoffice / Office / Logging.xcs
blob5c2f2f1b4f019100227a1480f1846512e27606d6
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--***********************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 *
6 * Copyright 2008 by Sun Microsystems, Inc.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * $RCSfile: Logging.xcs,v $
11 * $Revision: 1.4 $
13 * This file is part of OpenOffice.org.
15 * OpenOffice.org is free software: you can redistribute it and/or modify
16 * it under the terms of the GNU Lesser General Public License version 3
17 * only, as published by the Free Software Foundation.
19 * OpenOffice.org is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU Lesser General Public License version 3 for more details
23 * (a copy is included in the LICENSE file that accompanied this code).
25 * You should have received a copy of the GNU Lesser General Public License
26 * version 3 along with OpenOffice.org. If not, see
27 * <http://www.openoffice.org/license.html>
28 * for a copy of the LGPLv3 License.
30 ************************************************************************ -->
31 <!DOCTYPE oor:component-schema SYSTEM "../../../../component-schema.dtd">
32 <oor:component-schema xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="Logging" oor:package="org.openoffice.Office" xml:lang="en-US">
33 <info>
34 <author>FS</author>
35 <desc >Contains preferences the Logger components.</desc>
36 </info>
37 <templates>
38 <group oor:name="LoggerSettings">
39 <info>
40 <desc>contains preferences for a single Logger.</desc>
41 </info>
42 <prop oor:name="LogLevel" oor:type="xs:int" oor:nillable="false">
43 <info>
44 <desc>Specifies the log level of the logger.</desc>
45 </info>
46 <value>2147483647</value>
47 </prop>
48 <prop oor:name="DefaultHandler" oor:type="xs:string" oor:nillable="true">
49 <info>
50 <desc>Specifies the UNO service name of the default handler for the logger.</desc>
51 </info>
52 <value>com.sun.star.logging.FileHandler</value>
53 </prop>
54 <group oor:name="HandlerSettings" oor:extensible="true">
55 <info>
56 <desc>Specifies the settings for the default handler (DefaultHandler property) of
57 the logger. Plain properties below the HandlerSettings node are passed to
58 the log handler upon creation, as sequence of NamedValues.</desc>
59 </info>
60 <prop oor:name="FileURL" oor:type="xs:string">
61 <info>
62 <desc>Specifies the file URL for the log handler. The default value here will expand to a file
63 with the same name as the logger for which the handler is used, with extension &quot;.log&quot;.
64 It will be located in the user's OOo data folder.</desc>
65 </info>
66 <value>$(userurl)/$(loggername).log</value>
67 </prop>
68 </group>
69 <prop oor:name="DefaultFormatter" oor:type="xs:string" oor:nillable="true">
70 <info>
71 <desc>Specifies the UNO service name of the default formatter for the logger.</desc>
72 </info>
73 <value>com.sun.star.logging.PlainTextFormatter</value>
74 </prop>
75 <group oor:name="FormatterSettings" oor:extensible="true">
76 <info>
77 <desc>Specifies the settings for the default formatter (DefaultFormatter property) of
78 the logger. Plain properties below the FormatterSettings node are passed to
79 the log formatter upon creation, as sequence of NamedValues.</desc>
80 </info>
81 </group>
82 </group>
83 </templates>
84 <component>
85 <group oor:name="OOoImprovement">
86 <info>
87 <author>b_michaelsen</author>
88 <desc>specifies settings for the logging of userinterface events.</desc>
89 </info>
90 <prop oor:name="EnablingAllowed" oor:type="xs:boolean">
91 <info>
92 <desc>only if this is true, usage tracking is allowed and its options will be shown
93 </desc>
94 </info>
95 <value>false</value>
96 </prop>
97 <prop oor:name="LogPath" oor:type="xs:string">
98 <info>
99 <desc>directory where the logs will get saved
100 </desc>
101 </info>
102 <value>$(user)/temp/Feedback</value>
103 </prop>
104 <prop oor:name="IdleTimeout" oor:type="xs:int">
105 <info>
106 <desc>idle time in minutes. If two log event are separated by a longer
107 time, the log will be rotated.</desc>
108 </info>
109 <value>180</value>
110 </prop>
111 </group>
112 <set oor:name="Settings" oor:node-type="LoggerSettings">
113 <info>
114 <desc>contains the settings for all known loggers in OpenOffice.org.</desc>
115 </info>
116 </set>
117 </component>
118 </oor:component-schema>