summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorAriel Constenla-Haile <arielch@apache.org>2012-10-15 03:36:40 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-05-28 09:14:15 +0100
commit7e7e4c7a38764283ea334187fae4e21bd7d4f478 (patch)
treef1b33b52de5a859647cb524a99c6649817b4e59c /officecfg
parent898a3e84807bccbb876e3f5583728f6d24e05e9a (diff)
Resolves: #i121216# Allow unique logger file name
(cherry picked from commit a9606aa4d8a6bcb3955d991ee45c56cb93be2450) Conflicts: officecfg/registry/schema/org/openoffice/Office/Logging.xcs Change-Id: I25719f2898df2f91ef9c71234e9eab83f8140b96
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Logging.xcs18
1 files changed, 15 insertions, 3 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Logging.xcs b/officecfg/registry/schema/org/openoffice/Office/Logging.xcs
index 2679d1f5eb94..580135909f80 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Logging.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Logging.xcs
@@ -46,9 +46,21 @@
</info>
<prop oor:name="FileURL" oor:type="xs:string" oor:nillable="false">
<info>
- <desc>Specifies the file URL for the log handler. 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>
+ <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 &quot;.log&quot;.
+ It will be located in the user's OOo data folder.
+ </desc>
</info>
<value>$(userurl)/$(loggername).log</value>
</prop>