perfsonar-dev - r1352 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager
Subject: perfsonar development work
List archive
r1352 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager
Chronological Thread
- From:
- To:
- Subject: r1352 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager
- Date: Mon, 3 Jul 2006 06:41:26 -0400
Author: roman
Date: 2006-07-03 06:41:26 -0400 (Mon, 03 Jul 2006)
New Revision: 1352
Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager/SQLStorageManager.java
Log:
new log entry for request parameters
Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager/SQLStorageManager.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager/SQLStorageManager.java
2006-06-30 14:08:28 UTC (rev 1351)
+++
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager/SQLStorageManager.java
2006-07-03 10:41:26 UTC (rev 1352)
@@ -122,6 +122,9 @@
Parameter p = paramsArray[i];
String pname = p.getParameterName();
String pvalue = p.getParameterValue();
+
+ log.debug("SQLStorageManager.fetch: param [name, value]: ["
+ + pname + ", " + pvalue + "]");
if (pname.equals("startTime")) {
int startTime = Integer.parseInt(pvalue);
@@ -156,6 +159,7 @@
if
(((String)ibatisParams.get("time")).equalsIgnoreCase("now")) {
resultList = sqlMap.queryForList("getResults2",
ibatisParams);
+
} else {
throw new RequestException(
"error.ma.query",
- r1352 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlStorageManager, svnlog, 07/03/2006
Archive powered by MHonArc 2.6.16.