Skip to content
Permalink
Browse files
AMBARI-24851 - ADDENDUM Logsearch: debug mode using java 8 and 11 (#16)
  • Loading branch information
kasakrisz committed Oct 31, 2018
1 parent 845e0c6 commit f0c35f35e56b9a8f2719d97c327413d02e3fa2ec
Showing 1 changed file with 6 additions and 1 deletion.
@@ -168,7 +168,12 @@ function start() {
LOGFEEDER_DEBUG_PORT=${LOGFEEDER_DEBUG_PORT:-"5006"}

if [ "$LOGFEEDER_DEBUG" = "true" ]; then
LOGFEEDER_JAVA_OPTS="$LOGFEEDER_JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=*:$LOGFEEDER_DEBUG_PORT,server=y,suspend=$LOGFEEDER_DEBUG_SUSPEND "
if [ $java_version == "8" ]; then
LOGFEEDER_DEBUG_ADDRESS=$LOGFEEDER_DEBUG_PORT
else
LOGFEEDER_DEBUG_ADDRESS="*:$LOGFEEDER_DEBUG_PORT"
fi
LOGFEEDER_JAVA_OPTS="$LOGFEEDER_JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=$LOGFEEDER_DEBUG_ADDRESS,server=y,suspend=$LOGFEEDER_DEBUG_SUSPEND "
fi

if [ "$LOGFEEDER_SSL" = "true" ]; then

0 comments on commit f0c35f3

Please sign in to comment.