logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From psm...@apache.org
Subject svn commit: r376081 - /logging/chainsaw/trunk/anttasks-src/org/apache/chainsaw/ant/CreateShellScripts.java
Date Wed, 08 Feb 2006 21:35:03 GMT
Author: psmith
Date: Wed Feb  8 13:34:53 2006
New Revision: 376081

URL: http://svn.apache.org/viewcvs?rev=376081&view=rev
Log:
Change generated shell scripts to also include the System property that allows
VFS components to log and be viewable inside Chainsaw.

Modified:
    logging/chainsaw/trunk/anttasks-src/org/apache/chainsaw/ant/CreateShellScripts.java

Modified: logging/chainsaw/trunk/anttasks-src/org/apache/chainsaw/ant/CreateShellScripts.java
URL: http://svn.apache.org/viewcvs/logging/chainsaw/trunk/anttasks-src/org/apache/chainsaw/ant/CreateShellScripts.java?rev=376081&r1=376080&r2=376081&view=diff
==============================================================================
--- logging/chainsaw/trunk/anttasks-src/org/apache/chainsaw/ant/CreateShellScripts.java (original)
+++ logging/chainsaw/trunk/anttasks-src/org/apache/chainsaw/ant/CreateShellScripts.java Wed
Feb  8 13:34:53 2006
@@ -157,7 +157,7 @@
 
     
     private void writeExecutionLine(Collection fileNames, Writer writer, char jarSeparator)
throws IOException {
-        writer.write("java -classpath ");
+        writer.write("java -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
-classpath ");
         for (Iterator iter = fileNames.iterator(); iter.hasNext();) {
             String fileName = (String) iter.next();
             writer.write(fileName);



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message