Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r5293 - branches/new-structure-with-base2/ps-mdm-base2/src/main/java/org/perfsonar/base2/service/messages

Subject: perfsonar development work

List archive

perfsonar: r5293 - branches/new-structure-with-base2/ps-mdm-base2/src/main/java/org/perfsonar/base2/service/messages


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r5293 - branches/new-structure-with-base2/ps-mdm-base2/src/main/java/org/perfsonar/base2/service/messages
  • Date: Thu, 1 Oct 2009 06:50:55 -0400

Author: trzaszcz
Date: 2009-10-01 06:50:55 -0400 (Thu, 01 Oct 2009)
New Revision: 5293

Modified:

branches/new-structure-with-base2/ps-mdm-base2/src/main/java/org/perfsonar/base2/service/messages/GenericMessageHandler.java
Log:
log4j logging for java exceptions improved

Modified:
branches/new-structure-with-base2/ps-mdm-base2/src/main/java/org/perfsonar/base2/service/messages/GenericMessageHandler.java
===================================================================
---
branches/new-structure-with-base2/ps-mdm-base2/src/main/java/org/perfsonar/base2/service/messages/GenericMessageHandler.java
2009-10-01 10:47:11 UTC (rev 5292)
+++
branches/new-structure-with-base2/ps-mdm-base2/src/main/java/org/perfsonar/base2/service/messages/GenericMessageHandler.java
2009-10-01 10:50:55 UTC (rev 5293)
@@ -101,7 +101,7 @@
ex.toString();
PerfSONARException pse = new PerfSONARException(
"no_service_engine", m);
- logger.error(m);
+ logger.error(m,ex);

response.setElement(
ResultCodesUtil.generateResultMessage(null, pse));
@@ -129,6 +129,7 @@
} catch (RuntimeException rex) {
//just in case of unexpected runtime exception such as
//null, indexoutofbounds, classcast, etc.
+ logger.error(rex,rex);
throw new PerfSONARException(
"runtime_exception", "Runtime exception in
ServiceEngine: "+rex.getMessage());
}



  • perfsonar: r5293 - branches/new-structure-with-base2/ps-mdm-base2/src/main/java/org/perfsonar/base2/service/messages, svnlog, 10/01/2009

Archive powered by MHonArc 2.6.16.

Top of Page