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