Igor created IGNITE-23137:
-----------------------------

             Summary: vars.bat is different from vars.env
                 Key: IGNITE-23137
                 URL: https://issues.apache.org/jira/browse/IGNITE-23137
             Project: Ignite
          Issue Type: Bug
          Components: general, platforms
    Affects Versions: 3.0.0-beta2
            Reporter: Igor


Linux environment setup (vars.env) contains the next string:
{code:java}
JVM_GC_LOG_NAME="gc.log.$(date -u +%Y%m%d_%H%M%S)"
{code}
While Windows environment setup (vars.bat) has the next:
{code:java}
set JVM_GC_LOG_NAME=gc.log
{code}
As result the *`gc.log` has different names in different platforms.*

I would suggest to use something like this instead:
{code:java}
for /f %%a in ('powershell -Command "Get-Date -format yyyyMMdd__HHmmss"') do 
set datetime=%%a
set JVM_GC_LOG_NAME="gc.log.%datetime%"
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to