Author: burn
Date: Fri Oct 25 14:48:29 2013
New Revision: 1535752

URL: http://svn.apache.org/r1535752
Log:
UIMA-3373 Use the correct option for log4j 1.2

Modified:
    
uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/JobFactory.java

Modified: 
uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/JobFactory.java
URL: 
http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/JobFactory.java?rev=1535752&r1=1535751&r2=1535752&view=diff
==============================================================================
--- 
uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/JobFactory.java
 (original)
+++ 
uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/JobFactory.java
 Fri Oct 25 14:48:29 2013
@@ -278,7 +278,7 @@ public class JobFactory {
                        driverCommandLine.addOption(token);
                }
                // Name the log config file explicitly - the default of 
searching the user-provided classpath is dangerous
-               driverCommandLine.addOption("-Dlog4j.configurationFile=" + 
System.getenv("DUCC_HOME") + "/resources/log4j.xml");
+               driverCommandLine.addOption("-Dlog4j.configuration=file://" + 
System.getenv("DUCC_HOME") + "/resources/log4j.xml");
                // Environment
                String driverEnvironmentVariables = 
jobRequestProperties.getProperty(JobSpecificationProperties.key_environment);
                int envCountDriver = addEnvironment(job, "driver", 
driverCommandLine, driverEnvironmentVariables);


Reply via email to