[Osaas-commits] r68 - in trunk: . server/osaas

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Mar 19 19:04:57 CET 2010


Author: bh
Date: 2010-03-19 19:04:57 +0100 (Fri, 19 Mar 2010)
New Revision: 68

Modified:
   trunk/ChangeLog
   trunk/server/osaas/formparser.py
Log:
* server/osaas/formparser.py: Replace the single timestamp
responsetime with two timestamps: starttime and endtime.  This
allows OSAAS to log the duration of requests.


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2010-03-19 18:02:59 UTC (rev 67)
+++ trunk/ChangeLog	2010-03-19 18:04:57 UTC (rev 68)
@@ -1,5 +1,11 @@
 2010-03-19  Bernhard Herzog  <bh at intevation.de>
 
+	* server/osaas/formparser.py: Replace the single timestamp
+	responsetime with two timestamps: starttime and endtime.  This
+	allows OSAAS to log the duration of requests.
+
+2010-03-19  Bernhard Herzog  <bh at intevation.de>
+
 	* server/osaas/formparser.py (DateField.deserialize): Extend the
 	format for timestamps with milliseconds which are formatted as a
 	decimal point and three digits after the seconds.  This format

Modified: trunk/server/osaas/formparser.py
===================================================================
--- trunk/server/osaas/formparser.py	2010-03-19 18:02:59 UTC (rev 67)
+++ trunk/server/osaas/formparser.py	2010-03-19 18:04:57 UTC (rev 68)
@@ -85,7 +85,8 @@
 form_fields = [Field(name, required=True)
                for name in ["user", "wmsidextern", "wmsidintern",
                             "requeststring"]]
-form_fields.append(DateField("responsetime", required=True))
+form_fields.append(DateField("starttime", required=True))
+form_fields.append(DateField("endtime", required=True))
 
 request_fields = [
     Field("VERSION", required=True),



More information about the Osaas-commits mailing list