You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by dw...@apache.org on 2008/06/04 18:48:04 UTC
svn commit: r663301 -
/geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/ClientCommandLine.java
Author: dwoods
Date: Wed Jun 4 09:48:03 2008
New Revision: 663301
URL: http://svn.apache.org/viewvc?rev=663301&view=rev
Log:
GERONIMO-4016 The exception of failing to start client is not recorded in client.log. Thanks Yun Feng for the patch.
Modified:
geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/ClientCommandLine.java
Modified: geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/ClientCommandLine.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/ClientCommandLine.java?rev=663301&r1=663300&r2=663301&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/ClientCommandLine.java (original)
+++ geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/ClientCommandLine.java Wed Jun 4 09:48:03 2008
@@ -63,7 +63,7 @@
return startClient(configuration, parser.getApplicationClientArgs());
} catch (Exception e) {
ExceptionUtil.trimStackTrace(e);
- e.printStackTrace();
+ log.error("Client failed with exception: ", e);
return 2;
}
}