From e958eb5bcfc9feccbda7c0841b05939506143ad8 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 16 Nov 2007 10:47:40 +0000
Subject: [PATCH] Advanced properties phase 1: tag advanced properties and perform various clean-up to the XML definitions:
---
opends/src/admin/defn/org/opends/server/admin/std/DebugLogPublisherConfiguration.xml | 86 ++++++++++++++++++++-----------------------
1 files changed, 40 insertions(+), 46 deletions(-)
diff --git a/opends/src/admin/defn/org/opends/server/admin/std/DebugLogPublisherConfiguration.xml b/opends/src/admin/defn/org/opends/server/admin/std/DebugLogPublisherConfiguration.xml
index fbb04ad..6bb1498 100644
--- a/opends/src/admin/defn/org/opends/server/admin/std/DebugLogPublisherConfiguration.xml
+++ b/opends/src/admin/defn/org/opends/server/admin/std/DebugLogPublisherConfiguration.xml
@@ -1,53 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
- ! CDDL HEADER START
- !
- ! The contents of this file are subject to the terms of the
- ! Common Development and Distribution License, Version 1.0 only
- ! (the "License"). You may not use this file except in compliance
- ! with the License.
- !
- ! You can obtain a copy of the license at
- ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
- ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
- ! See the License for the specific language governing permissions
- ! and limitations under the License.
- !
- ! When distributing Covered Code, include this CDDL HEADER in each
- ! file and include the License file at
- ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
- ! add the following below this CDDL HEADER, with the fields enclosed
- ! by brackets "[]" replaced with your own identifying information:
- ! Portions Copyright [yyyy] [name of copyright owner]
- !
- ! CDDL HEADER END
- !
- !
- ! Portions Copyright 2007 Sun Microsystems, Inc.
- ! -->
-
+ ! CDDL HEADER START
+ !
+ ! The contents of this file are subject to the terms of the
+ ! Common Development and Distribution License, Version 1.0 only
+ ! (the "License"). You may not use this file except in compliance
+ ! with the License.
+ !
+ ! You can obtain a copy of the license at
+ ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
+ ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
+ ! See the License for the specific language governing permissions
+ ! and limitations under the License.
+ !
+ ! When distributing Covered Code, include this CDDL HEADER in each
+ ! file and include the License file at
+ ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
+ ! add the following below this CDDL HEADER, with the fields enclosed
+ ! by brackets "[]" replaced with your own identifying information:
+ ! Portions Copyright [yyyy] [name of copyright owner]
+ !
+ ! CDDL HEADER END
+ !
+ !
+ ! Portions Copyright 2007 Sun Microsystems, Inc.
+ ! -->
<adm:managed-object name="debug-log-publisher"
-plural-name="debug-log-publishers"
-package="org.opends.server.admin.std" extends="log-publisher"
-abstract="true" xmlns:adm="http://www.opends.org/admin"
-xmlns:ldap="http://www.opends.org/admin-ldap"
-xmlns:cli="http://www.opends.org/admin-cli">
-
+ plural-name="debug-log-publishers"
+ package="org.opends.server.admin.std" extends="log-publisher"
+ xmlns:adm="http://www.opends.org/admin"
+ xmlns:ldap="http://www.opends.org/admin-ldap"
+ xmlns:cli="http://www.opends.org/admin-cli">
<adm:synopsis>
<adm:user-friendly-plural-name />
are responsible for distributing debug log messages from the debug
logger to a destination.
</adm:synopsis>
-
<adm:profile name="ldap">
<ldap:object-class>
<ldap:name>ds-cfg-debug-log-publisher</ldap:name>
<ldap:superior>ds-cfg-log-publisher</ldap:superior>
</ldap:object-class>
</adm:profile>
-
<adm:relation name="debug-target">
- <adm:one-to-many naming-property="debug-scope"/>
+ <adm:one-to-many naming-property="debug-scope" />
<adm:profile name="ldap">
<ldap:rdn-sequence>cn=Debug Targets</ldap:rdn-sequence>
</adm:profile>
@@ -58,7 +54,6 @@
</cli:relation>
</adm:profile>
</adm:relation>
-
<adm:property name="java-class" mandatory="true">
<adm:synopsis>
The fully-qualified name of the Java class that provides the
@@ -78,12 +73,16 @@
</ldap:attribute>
</adm:profile>
</adm:property>
-
<adm:property name="default-debug-level" mandatory="true">
<adm:synopsis>
The lowest severity level of debug messages to log when none of
the defined targets match the message.
</adm:synopsis>
+ <adm:default-behavior>
+ <adm:defined>
+ <adm:value>error</adm:value>
+ </adm:defined>
+ </adm:default-behavior>
<adm:syntax>
<adm:enumeration>
<adm:value name="disabled">
@@ -126,17 +125,16 @@
</ldap:attribute>
</adm:profile>
</adm:property>
-
<adm:property name="default-debug-category" multi-valued="true">
<adm:synopsis>
- The debug message categories to be logged when none of the
- defined targets match the message.
+ The debug message categories to be logged when none of the defined
+ targets match the message.
</adm:synopsis>
<adm:default-behavior>
<adm:alias>
<adm:synopsis>
- Messages with any category will be logged if they have a sufficient
- debug level.
+ Messages with any category will be logged if they have a
+ sufficient debug level.
</adm:synopsis>
</adm:alias>
</adm:default-behavior>
@@ -177,7 +175,6 @@
</ldap:attribute>
</adm:profile>
</adm:property>
-
<adm:property name="default-omit-method-entry-arguments">
<adm:synopsis>
Property to indicate whether to include method arguments in debug
@@ -199,7 +196,6 @@
</ldap:attribute>
</adm:profile>
</adm:property>
-
<adm:property name="default-omit-method-return-value">
<adm:synopsis>
Property to indicate whether to include the return value in debug
@@ -219,7 +215,6 @@
</ldap:attribute>
</adm:profile>
</adm:property>
-
<adm:property name="default-include-throwable-cause">
<adm:synopsis>
Property to indicate whether to include the cause of exceptions in
@@ -239,7 +234,6 @@
</ldap:attribute>
</adm:profile>
</adm:property>
-
<adm:property name="default-throwable-stack-frames">
<adm:synopsis>
Property to indicate the number of stack frames to include in the
--
Gitblit v1.10.0