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