Author: lcorneliussen
Date: Thu Jan  5 07:53:02 2012
New Revision: 1227519

URL: http://svn.apache.org/viewvc?rev=1227519&view=rev
Log:
[NPANDAY-509] CMD line quoting: Remove unnecessary classes and test cases

o improved logging

Modified:
    
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/execution/UnifiedShellCommandExecutor.java

Modified: 
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/execution/UnifiedShellCommandExecutor.java
URL: 
http://svn.apache.org/viewvc/incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/execution/UnifiedShellCommandExecutor.java?rev=1227519&r1=1227518&r2=1227519&view=diff
==============================================================================
--- 
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/execution/UnifiedShellCommandExecutor.java
 (original)
+++ 
incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/execution/UnifiedShellCommandExecutor.java
 Thu Jan  5 07:53:02 2012
@@ -116,9 +116,6 @@ public class UnifiedShellCommandExecutor
             getLogger().info( " +--[ RUNNING: " + commandline.toString()  + 
"]");
 
             result = CommandLineUtils.executeCommandLine( commandline, stdOut, 
stdErr );
-            getLogger().debug(
-                "NPANDAY-040-005: Executed command: Commandline = " + 
commandline + ", Result = " + result
-            );
 
             if ( ( failsOnErrorOutput && stdErr.hasError() ) || result != 0 )
             {
@@ -138,7 +135,7 @@ public class UnifiedShellCommandExecutor
         }
         finally {
             if(!done){
-                getLogger().info( " +--[ FAILED! ]");
+                getLogger().info( " +--[ FAILED, result = " + result + ", 
error output = " + stdErr.hasError() + "]");
             }
         }
     }


Reply via email to