From 36f2ae5521dc5ba3a97c838e1e4b9b8d53983b55 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Tue, 07 Aug 2007 10:14:23 +0000
Subject: [PATCH] Fix the debug log publisher relation with debug targets to use a naming property and mark the naming property (debug-scope) as read-only. Also fix some minor typos in the descriptions.

---
 opends/src/admin/defn/org/opends/server/admin/std/DebugTargetConfiguration.xml       |    6 +++---
 opends/src/admin/defn/org/opends/server/admin/std/DebugLogPublisherConfiguration.xml |    8 +++-----
 2 files changed, 6 insertions(+), 8 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 5b75fa0..32b92a8 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
@@ -7,7 +7,7 @@
   xmlns:cli="http://www.opends.org/admin-cli">
   <adm:synopsis>
     <adm:user-friendly-plural-name />
-    are reponsible for distributing debug log messages from the debug
+    are responsible for distributing debug log messages from the debug
     logger to a destination.
   </adm:synopsis>
   <adm:profile name="ldap">
@@ -18,16 +18,14 @@
     </ldap:object-class>
   </adm:profile>
   <adm:relation name="debug-target">
-    <adm:one-to-many />
+    <adm:one-to-many naming-property="debug-scope"/>
     <adm:profile name="ldap">
       <ldap:rdn-sequence>cn=Debug Targets</ldap:rdn-sequence>
-      <ldap:naming-attribute>ds-cfg-debug-scope</ldap:naming-attribute>
     </adm:profile>
     <adm:profile name="cli">
       <cli:relation>
         <cli:default-property name="debug-level" />
         <cli:default-property name="debug-category" />
-        <cli:default-property name="debug-scope" />
       </cli:relation>
     </adm:profile>
   </adm:relation>
@@ -101,7 +99,7 @@
   </adm:property>
   <adm:property name="default-debug-category" multi-valued="true">
     <adm:synopsis>
-      The category(ies) of debug messages to log when none of the
+      The debug message categories to be logged when none of the
       defined targets match the message.
     </adm:synopsis>
     <adm:default-behavior>
diff --git a/opends/src/admin/defn/org/opends/server/admin/std/DebugTargetConfiguration.xml b/opends/src/admin/defn/org/opends/server/admin/std/DebugTargetConfiguration.xml
index 75d77c8..9a7d94d 100644
--- a/opends/src/admin/defn/org/opends/server/admin/std/DebugTargetConfiguration.xml
+++ b/opends/src/admin/defn/org/opends/server/admin/std/DebugTargetConfiguration.xml
@@ -16,11 +16,11 @@
       <ldap:superior>top</ldap:superior>
     </ldap:object-class>
   </adm:profile>
-  <adm:property name="debug-scope" mandatory="true">
+  <adm:property name="debug-scope" mandatory="true" read-only="true">
     <adm:synopsis>
       The fully-qualified OpenDS Java package, class, or method affected by
       the settings in this target definition. Use the number character (#) to
-      seperate the class name and the method name.
+      separate the class name and the method name.
       (ie. org.opends.server.core.DirectoryServer#startUp)
     </adm:synopsis>
     <adm:syntax>
@@ -94,7 +94,7 @@
   </adm:property>
   <adm:property name="debug-category" multi-valued="true">
     <adm:synopsis>
-      The category(ies) of debug messages to log.
+      The debug message categories to be logged.
     </adm:synopsis>
     <adm:default-behavior>
       <adm:alias>

--
Gitblit v1.10.0