This sanity test is sporatically failing in Jenkins for no good reason. Reverting...
[controller.git] / opendaylight / distribution / opendaylight / src / main / resources / run.bat
index a8e33d26328876334205d0c7f8f679024eca6332..9d6ac8d1deaecdee57ef842335389edb9931e1d3 100644 (file)
@@ -140,7 +140,7 @@ SET RUN_CMD="%JAVA_HOME%\bin\java.exe" -Dopendaylight.controller %extraJVMOpts%
 ECHO %RUN_CMD%
 
 if "%startEnabled%" NEQ "" (
-    START /B cmd /C CALL %RUN_CMD%
+    START /B cmd /C CALL %RUN_CMD% > %basedir%\logs\controller.out 2>&1
     ECHO Running controller in the background.
 ) else (
     %RUN_CMD%