diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
commit | ed5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch) | |
tree | 7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /officecfg/registry/schema/org/openoffice/Office/Logging.xcs | |
parent | Initial commit. (diff) | |
download | libreoffice-ed5640d8b587fbcfed7dd7967f3de04b37a76f26.tar.xz libreoffice-ed5640d8b587fbcfed7dd7967f3de04b37a76f26.zip |
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'officecfg/registry/schema/org/openoffice/Office/Logging.xcs')
-rw-r--r-- | officecfg/registry/schema/org/openoffice/Office/Logging.xcs | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Logging.xcs b/officecfg/registry/schema/org/openoffice/Office/Logging.xcs new file mode 100644 index 000000000..a5ec755ea --- /dev/null +++ b/officecfg/registry/schema/org/openoffice/Office/Logging.xcs @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> +<!DOCTYPE oor:component-schema SYSTEM "../../../../component-schema.dtd"> +<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"> + <info> + <desc>Contains preferences the Logger components.</desc> + </info> + <templates> + <group oor:name="LoggerSettings"> + <info> + <desc>contains preferences for a single Logger.</desc> + </info> + <prop oor:name="LogLevel" oor:type="xs:int" oor:nillable="false"> + <info> + <desc>Specifies the log level of the logger.</desc> + </info> + <value>2147483647</value> + </prop> + <prop oor:name="DefaultHandler" oor:type="xs:string" oor:nillable="true"> + <info> + <desc>Specifies the UNO service name of the default handler for the logger.</desc> + </info> + <value>com.sun.star.logging.FileHandler</value> + </prop> + <group oor:name="HandlerSettings" oor:extensible="true"> + <info> + <desc>Specifies the settings for the default handler (DefaultHandler property) of + the logger. Plain properties below the HandlerSettings node are passed to + the log handler upon creation, as sequence of NamedValues.</desc> + </info> + <prop oor:name="FileURL" oor:type="xs:string" oor:nillable="false"> + <info> + <desc>Specifies the file URL for the log handler. + This URL will be resolved using the + ::com::sun::star::util::PathSubstitution service. That is, it is + allowed to include placeholders supported by that service, + such as $(userurl). Beside these, the following default + placeholders can also be included: + $(loggername) - the name of the logger + $(date) - the current date + $(time) - the current time + $(datetime) - the current date time + $(pid) - the process identifier + The default value here will expand to a file with the same name + as the logger for which the handler is used, with extension ".log". + It will be located in the user's OOo data folder. + </desc> + </info> + <value>$(userurl)/$(loggername).log</value> + </prop> + </group> + <prop oor:name="DefaultFormatter" oor:type="xs:string" oor:nillable="true"> + <info> + <desc>Specifies the UNO service name of the default formatter for the logger.</desc> + </info> + <value>com.sun.star.logging.PlainTextFormatter</value> + </prop> + <group oor:name="FormatterSettings" oor:extensible="true"> + <info> + <desc>Specifies the settings for the default formatter (DefaultFormatter property) of + the logger. Plain properties below the FormatterSettings node are passed to + the log formatter upon creation, as sequence of NamedValues.</desc> + </info> + </group> + </group> + </templates> + <component> + <set oor:name="Settings" oor:node-type="LoggerSettings"> + <info> + <desc>contains the settings for all known loggers in OpenOffice.org.</desc> + </info> + </set> + </component> +</oor:component-schema> |