adding more logging

This commit is contained in:
Thad Guidry 2018-01-04 11:14:30 -06:00 committed by GitHub
parent a41d538575
commit 506e479689
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
@echo off rem Changing this for debugging on Appveyor
@echo on
rem rem
rem Configuration variables rem Configuration variables
rem rem
@ -70,7 +71,9 @@ for /f "tokens=1,* delims==" %%a in (refine.ini) do (
) )
rem --- Log for troubleshooting ------------------------------------------ rem --- Log for troubleshooting ------------------------------------------
echo Getting Java Version...
for /f "tokens=*" %%a in ('java -version 2^>^&1 ^| find "version"') do (set JVERSION=%%a) for /f "tokens=*" %%a in ('java -version 2^>^&1 ^| find "version"') do (set JVERSION=%%a)
echo Getting Free Ram...
for /f "usebackq skip=1 tokens=*" %%i in (`wmic os get FreePhysicalMemory ^| findstr /r /v "^$"`) do @set /A freeRam=%%i/1024 for /f "usebackq skip=1 tokens=*" %%i in (`wmic os get FreePhysicalMemory ^| findstr /r /v "^$"`) do @set /A freeRam=%%i/1024
( (
echo ----------------------- echo -----------------------