Author: julien_viet
Date: 2009-12-15 16:34:37 -0500 (Tue, 15 Dec 2009)
New Revision: 1015
Modified:
portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/gadget/GadgetDeployer.java
Log:
better logging
Modified:
portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/gadget/GadgetDeployer.java
===================================================================
---
portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/gadget/GadgetDeployer.java 2009-12-15
19:52:48 UTC (rev 1014)
+++
portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/gadget/GadgetDeployer.java 2009-12-15
21:34:37 UTC (rev 1015)
@@ -118,7 +118,7 @@
{
Element gadgetElement = (Element)nodeList.item(i);
String gadgetName = gadgetElement.getAttribute("name");
- System.out.println("About to import " + gadgetName);
+ log.info("About to import gadget " + gadgetName);
Element pathElt = XMLTools.getUniqueChild(gadgetElement, "path",
false);
if (pathElt != null)
{
@@ -154,7 +154,7 @@
}
finally
{
- lifeCycle.closeContext(context, true);
+ lifeCycle.closeContext(true);
}
}
}
Show replies by date