From 6812cefe6168c6a6142a9633138c0f07ae135dd5 Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Fri, 31 Jan 2014 14:55:30 +0000
Subject: [PATCH] Checkpoint commit for OPENDJ-1288 :    Migrate I18n and logging support to i18n framework and SLF4J

---
 opendj3-server-dev/src/admin/defn/org/opends/server/admin/std/DebugLogPublisherConfiguration.xml |  101 ++++----------------------------------------------
 1 files changed, 9 insertions(+), 92 deletions(-)

diff --git a/opendj3-server-dev/src/admin/defn/org/opends/server/admin/std/DebugLogPublisherConfiguration.xml b/opendj3-server-dev/src/admin/defn/org/opends/server/admin/std/DebugLogPublisherConfiguration.xml
index 678098e..5c27b4c 100644
--- a/opendj3-server-dev/src/admin/defn/org/opends/server/admin/std/DebugLogPublisherConfiguration.xml
+++ b/opendj3-server-dev/src/admin/defn/org/opends/server/admin/std/DebugLogPublisherConfiguration.xml
@@ -23,7 +23,7 @@
   !
   !
   !      Copyright 2007-2008 Sun Microsystems, Inc.
-  !      Portions copyright 2013 ForgeRock AS
+  !      Portions copyright 2013-2014 ForgeRock AS
   ! -->
 <adm:managed-object name="debug-log-publisher"
   plural-name="debug-log-publishers"
@@ -37,8 +37,8 @@
     logger to a destination.
   </adm:synopsis>
   <adm:description>
-    Debug log messages provide information that can be used for debugging 
-    or troubleshooting problems in the server, or for providing more 
+    Debug log messages provide information that can be used for debugging
+    or troubleshooting problems in the server, or for providing more
     detailed information about the processing that the server performs.
   </adm:description>
   <adm:profile name="ldap">
@@ -69,105 +69,22 @@
       </adm:defined>
     </adm:default-behavior>
   </adm:property-override>
-  <adm:property name="default-debug-level" mandatory="true">
+    <adm:property name="default-debug-exceptions-only">
     <adm:synopsis>
-      The lowest severity level of debug messages to log when none of
-      the defined targets match the message.
+      Indicates whether only logs with exception
+      should be logged.
     </adm:synopsis>
     <adm:default-behavior>
       <adm:defined>
-        <adm:value>error</adm:value>
+        <adm:value>false</adm:value>
       </adm:defined>
     </adm:default-behavior>
     <adm:syntax>
-      <adm:enumeration>
-        <adm:value name="disabled">
-          <adm:synopsis>No messages will be logged.</adm:synopsis>
-        </adm:value>
-        <adm:value name="error">
-          <adm:synopsis>
-            Messages with severity level of ERROR or higher will be
-            logged.
-          </adm:synopsis>
-        </adm:value>
-        <adm:value name="warning">
-          <adm:synopsis>
-            Messages with severity level of WARNING or higher will be
-            logged.
-          </adm:synopsis>
-        </adm:value>
-        <adm:value name="info">
-          <adm:synopsis>
-            Messages with severity level of INFO or higher will be
-            logged.
-          </adm:synopsis>
-        </adm:value>
-        <adm:value name="verbose">
-          <adm:synopsis>
-            Messages with severity level of VERBOSE or higher will be
-            logged.
-          </adm:synopsis>
-        </adm:value>
-        <adm:value name="all">
-          <adm:synopsis>
-            Messages with any severity level will be logged.
-          </adm:synopsis>
-        </adm:value>
-      </adm:enumeration>
+      <adm:boolean />
     </adm:syntax>
     <adm:profile name="ldap">
       <ldap:attribute>
-        <ldap:name>ds-cfg-default-debug-level</ldap:name>
-      </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.
-    </adm:synopsis>
-    <adm:default-behavior>
-      <adm:alias>
-        <adm:synopsis>
-          Messages with any category will be logged if they have a
-          sufficient debug level.
-        </adm:synopsis>
-      </adm:alias>
-    </adm:default-behavior>
-    <adm:syntax>
-      <adm:enumeration>
-        <adm:value name="caught">
-          <adm:synopsis>Exception caught.</adm:synopsis>
-        </adm:value>
-        <adm:value name="constructor">
-          <adm:synopsis>Constructor entry.</adm:synopsis>
-        </adm:value>
-        <adm:value name="data">
-          <adm:synopsis>Raw data dump.</adm:synopsis>
-        </adm:value>
-        <adm:value name="database-access">
-          <adm:synopsis>Access to a backend database.</adm:synopsis>
-        </adm:value>
-        <adm:value name="enter">
-          <adm:synopsis>Method entry.</adm:synopsis>
-        </adm:value>
-        <adm:value name="exit">
-          <adm:synopsis>Method exit.</adm:synopsis>
-        </adm:value>
-        <adm:value name="message">
-          <adm:synopsis>Arbitrary debug message.</adm:synopsis>
-        </adm:value>
-        <adm:value name="protocol">
-          <adm:synopsis>Protocol element dump.</adm:synopsis>
-        </adm:value>
-        <adm:value name="thrown">
-          <adm:synopsis>Exception throw from method.</adm:synopsis>
-        </adm:value>
-      </adm:enumeration>
-    </adm:syntax>
-    <adm:profile name="ldap">
-      <ldap:attribute>
-        <ldap:name>ds-cfg-default-debug-category</ldap:name>
+        <ldap:name>ds-cfg-default-debug-exceptions-only</ldap:name>
       </ldap:attribute>
     </adm:profile>
   </adm:property>

--
Gitblit v1.10.0