Author: burn
Date: Wed May  6 21:44:29 2015
New Revision: 1678102

URL: http://svn.apache.org/r1678102
Log:
UIMA-4359 The JD should not replace the user's log4j setting

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

Modified: 
uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/factory/JobFactory.java
URL: 
http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/factory/JobFactory.java?rev=1678102&r1=1678101&r2=1678102&view=diff
==============================================================================
--- 
uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/factory/JobFactory.java
 (original)
+++ 
uima/sandbox/uima-ducc/trunk/uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/factory/JobFactory.java
 Wed May  6 21:44:29 2015
@@ -347,8 +347,7 @@ public class JobFactory implements IJobF
                flagName = FlagsHelper.Name.UserErrorHandlerCfg;
                flagValue = 
jobRequestProperties.getProperty(JobSpecificationProperties.key_driver_exception_handler_arguments);
                addDashD(jcl, flagName, flagValue);
-               // Name the log config file explicitly - the default of 
searching the user-provided classpath is dangerous
-               jcl.addOption("-Dlog4j.configuration=file://" + 
Utils.findDuccHome() + "/resources/log4j.xml");
+               // No longer replace user's value by explicitly setting 
-Dlog4j.configuration ... DuccLogger knows how to find it
                // Log directory
                
jcl.setLogDirectory(jobRequestProperties.getProperty(JobSpecificationProperties.key_log_directory));
                return jcl;


Reply via email to