You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by bu...@apache.org on 2015/03/05 21:30:27 UTC

svn commit: r1664474 - in /uima/sandbox/uima-ducc/trunk: uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/CliBase.java uima-ducc-common/src/main/java/org/apache/uima/ducc/common/utils/DuccLogger.java

Author: burn
Date: Thu Mar  5 20:30:26 2015
New Revision: 1664474

URL: http://svn.apache.org/r1664474
Log:
UIMA-4271 Restore the information-only specification option in the spec

Modified:
    uima/sandbox/uima-ducc/trunk/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/CliBase.java
    uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/utils/DuccLogger.java

Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/CliBase.java
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/CliBase.java?rev=1664474&r1=1664473&r2=1664474&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/CliBase.java (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-cli/src/main/java/org/apache/uima/ducc/cli/CliBase.java Thu Mar  5 20:30:26 2015
@@ -310,9 +310,6 @@ public abstract class CliBase
             }
             commandLine = new CommandLine(args, uiOpts, defaults);
             commandLine.parse();
-            
-            // Remove the file option to avoid re-parsing or confusion in the saved properties files
-            commandLine.allOptions().remove(UiOption.Specification);
         }
         commandLine.verify();  // Insure all the rules specified by the IUiOpts are enforced        
         

Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/utils/DuccLogger.java
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/utils/DuccLogger.java?rev=1664474&r1=1664473&r2=1664474&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/utils/DuccLogger.java (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/utils/DuccLogger.java Thu Mar  5 20:30:26 2015
@@ -53,7 +53,7 @@ public class DuccLogger
     private final static String DEFAULT_COMPONENT = "DUCC";
     private static List<Logger> nonDuccLoggers = new ArrayList<Logger>();
 
-    private boolean debug = false;
+    private boolean debug = System.getProperty("log4j.debug") != null;    // Use the log4j debugging flag
 
     static protected void initLogger()
     {