Skip to content

Commit

Permalink
Merge branch '3.7-dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentyn Kahamlyk authored and Valentyn Kahamlyk committed Jul 23, 2024
2 parents 93879c8 + 97e1c7a commit 14604a5
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,8 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
* Fixed a bug in GremlinServer not properly propagating arguments when authentication is enabled.
* Fixed bug in Java driver where connection pool was not removing dead connections under certain error conditions.
* Raised handshake exceptions for Java driver for `NoHostAvailableException` situations.
* The default logging level for Gremlin Console in Windows is set to the same WARN level as for Linux.
* Add command line option `-l` to change logging level for Gremlin Console in Windows.
[[release-3-6-7]]
=== TinkerPop 3.6.7 (April 8, 2024)
Expand Down
13 changes: 12 additions & 1 deletion gremlin-console/src/main/bin/gremlin-java8.bat
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,20 @@ FOR /r %%j in (*.jar *.JAR) do (
)
cd ..

set GREMLIN_LOG_LEVEL=WARN

:: Process options

:parse
IF "%~1"=="" GOTO endparse
IF "%~1"=="-l" set GREMLIN_LOG_LEVEL=%~2
SHIFT
GOTO parse
:endparse

:: workaround for https://issues.apache.org/jira/browse/GROOVY-6453
set JAVA_OPTIONS=-Xms32m -Xmx512m -Djline.terminal=none

:: Launch the application

java %JAVA_OPTIONS% %JAVA_ARGS% -cp "%CONSOLE_JARS%" org.apache.tinkerpop.gremlin.console.Console %*
java %JAVA_OPTIONS% %JAVA_ARGS% -cp "%CONSOLE_JARS%" "-Dlogback.configurationFile=conf/logback.xml" "-Dgremlin.logback.level=%GREMLIN_LOG_LEVEL%" org.apache.tinkerpop.gremlin.console.Console %*
13 changes: 12 additions & 1 deletion gremlin-console/src/main/bin/gremlin.bat
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,22 @@ FOR /D /r %%i in (*) do (

cd ..

set GREMLIN_LOG_LEVEL=WARN

:: Process options

:parse
IF "%~1"=="" GOTO endparse
IF "%~1"=="-l" set GREMLIN_LOG_LEVEL=%~2
SHIFT
GOTO parse
:endparse

:: workaround for https://issues.apache.org/jira/browse/GROOVY-6453
set JAVA_OPTIONS=-Xms32m -Xmx512m -Djline.terminal=none

:: Launch the application

java %JAVA_OPTIONS% %JAVA_ARGS% -cp "%LIBDIR%\*;%EXTDIR%;" org.apache.tinkerpop.gremlin.console.Console %*
java %JAVA_OPTIONS% %JAVA_ARGS% -cp "%LIBDIR%\*;%EXTDIR%;" "-Dlogback.configurationFile=conf/logback.xml" "-Dgremlin.logback.level=%GREMLIN_LOG_LEVEL%" org.apache.tinkerpop.gremlin.console.Console %*

set CLASSPATH=%OLD_CLASSPATH%

0 comments on commit 14604a5

Please sign in to comment.