1<?xml version="1.0" encoding="UTF-8"?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements.  See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership.  The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License.  You may obtain a copy of the License at
11 *
12 *   http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied.  See the License for the
18 * specific language governing permissions and limitations
19 * under the License.
20 *
21 ***********************************************************-->
22
23
24<!DOCTYPE oor:component-schema SYSTEM "../../../../component-schema.dtd">
25<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">
26  <info>
27    <author>FS</author>
28    <desc >Contains preferences the Logger components.</desc>
29  </info>
30  <templates>
31    <group oor:name="LoggerSettings">
32      <info>
33        <desc>contains preferences for a single Logger.</desc>
34      </info>
35      <prop oor:name="LogLevel" oor:type="xs:int" oor:nillable="false">
36        <info>
37          <desc>Specifies the log level of the logger.</desc>
38        </info>
39        <value>2147483647</value>
40      </prop>
41      <prop oor:name="DefaultHandler" oor:type="xs:string" oor:nillable="true">
42        <info>
43          <desc>Specifies the UNO service name of the default handler for the logger.</desc>
44        </info>
45        <value>com.sun.star.logging.FileHandler</value>
46      </prop>
47      <group oor:name="HandlerSettings" oor:extensible="true">
48        <info>
49          <desc>Specifies the settings for the default handler (DefaultHandler property) of
50            the logger. Plain properties below the HandlerSettings node are passed to
51            the log handler upon creation, as sequence of NamedValues.</desc>
52        </info>
53        <prop oor:name="FileURL" oor:type="xs:string">
54          <info>
55            <desc>Specifies the file URL for the log handler.
56                This URL will be resolved using the
57                ::com::sun::star::util::PathSubstitution service. That is, it is
58                allowed to include placeholders supported by that service,
59                such as $(userurl). Beside these, the following default
60                placeholders can also be included:
61                    $(loggername) - the name of the logger
62                    $(date) - the current date
63                    $(time) - the current time
64                    $(datetime) - the current date time
65                    $(pid) - the process identifier
66                The default value here will expand to a file with the same name
67                as the logger for which the handler is used, with extension &quot;.log&quot;.
68                It will be located in the user's OOo data folder.
69            </desc>
70          </info>
71          <value>$(userurl)/$(loggername).log</value>
72        </prop>
73      </group>
74      <prop oor:name="DefaultFormatter" oor:type="xs:string" oor:nillable="true">
75        <info>
76          <desc>Specifies the UNO service name of the default formatter for the logger.</desc>
77        </info>
78        <value>com.sun.star.logging.PlainTextFormatter</value>
79      </prop>
80      <group oor:name="FormatterSettings" oor:extensible="true">
81        <info>
82          <desc>Specifies the settings for the default formatter (DefaultFormatter property) of
83            the logger. Plain properties below the FormatterSettings node are passed to
84            the log formatter upon creation, as sequence of NamedValues.</desc>
85        </info>
86      </group>
87    </group>
88  </templates>
89  <component>
90    <group oor:name="OOoImprovement">
91      <info>
92		<author>b_michaelsen</author>
93        <desc>specifies settings for the logging of userinterface events.</desc>
94      </info>
95      <prop oor:name="EnablingAllowed" oor:type="xs:boolean">
96        <info>
97          <desc>only if this is true, usage tracking is allowed and its options will be shown
98          </desc>
99        </info>
100        <value>false</value>
101      </prop>
102      <prop oor:name="LogPath" oor:type="xs:string">
103        <info>
104          <desc>directory where the logs will get saved
105          </desc>
106        </info>
107        <value>$(user)/temp/Feedback</value>
108      </prop>
109      <prop oor:name="IdleTimeout" oor:type="xs:int">
110        <info>
111          <desc>idle time in minutes. If two log event are separated by a longer
112          time, the log will be rotated.</desc>
113        </info>
114        <value>180</value>
115      </prop>
116    </group>
117    <set oor:name="Settings" oor:node-type="LoggerSettings">
118      <info>
119        <desc>contains the settings for all known loggers in OpenOffice.org.</desc>
120      </info>
121    </set>
122  </component>
123</oor:component-schema>
124