Update of /var/cvs/config/utils
In directory james.mmbase.org:/tmp/cvs-serv26582

Modified Files:
        querylogging.xml 
Log Message:
MMB-1780


See also: http://cvs.mmbase.org/viewcvs/config/utils
See also: http://www.mmbase.org/jira/browse/MMB-1780


Index: querylogging.xml
===================================================================
RCS file: /var/cvs/config/utils/querylogging.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- querylogging.xml    30 Jan 2009 20:08:01 -0000      1.1
+++ querylogging.xml    31 Jan 2009 09:30:32 -0000      1.2
@@ -4,11 +4,11 @@
 
   <!--
       Queries are logged with the logger with name 'org.mmbase.QUERIES'.
-      the level of logging is determinged by the following duration thresholds 
(in ms).
+      the level of logging is determinged by the following duration thresholds 
(in ms, but it is measured in ns, so you can use decimals).
 
       If a query took shorter than 'debug' it will be logged on level 'trace'.
       If a query took longer than that, it will be logged on 'debug', unless 
it took even
-      longer thatn 'service', in which case it will be logged on 'service', 
and so on.
+      longer that 'service', in which case it will be logged on 'service', and 
so on.
   -->
   <properties>
     <property name="debug">1</property>
@@ -18,5 +18,10 @@
     <property name="error">5000</property>
     <property name="fatal">1000000</property>
 
+    <!--
+        java.text.DecimalFormat pattern used to log a duration (in ms)
+    -->
+    <property name="durationFormat">#.00</property>
+
   </properties>
 </util>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to