From 6b8813dbbce3bdafb2b8f86be4c5cf5fb17f7669 Mon Sep 17 00:00:00 2001 From: Ryan Kurtz Date: Wed, 15 Dec 2021 08:58:14 -0500 Subject: [PATCH] GP-1607: Fixed the "ERROR StatusLogger Reconfiguration failed" message that appeared in the log when Ghidra was launched with support/ghidraDebug. --- Ghidra/RuntimeScripts/Linux/support/launch.sh | 2 +- Ghidra/RuntimeScripts/Windows/support/launch.bat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Ghidra/RuntimeScripts/Linux/support/launch.sh b/Ghidra/RuntimeScripts/Linux/support/launch.sh index 3bd3a568f7..b9838708df 100755 --- a/Ghidra/RuntimeScripts/Linux/support/launch.sh +++ b/Ghidra/RuntimeScripts/Linux/support/launch.sh @@ -164,7 +164,7 @@ if [ "${MODE}" = "debug" ] || [ "${MODE}" = "debug-suspend" ]; then SUSPEND=y fi - VMARG_LIST+=" -Dlog4j.configuration=\"${DEBUG_LOG4J}\"" + VMARG_LIST+=" -Dlog4j.configurationFile=\"${DEBUG_LOG4J}\"" VMARG_LIST+=" -agentlib:jdwp=transport=dt_socket,server=y,suspend=${SUSPEND},address=${DEBUG_ADDRESS}" diff --git a/Ghidra/RuntimeScripts/Windows/support/launch.bat b/Ghidra/RuntimeScripts/Windows/support/launch.bat index 0706b597a9..639e29141c 100644 --- a/Ghidra/RuntimeScripts/Windows/support/launch.bat +++ b/Ghidra/RuntimeScripts/Windows/support/launch.bat @@ -151,7 +151,7 @@ if "%DEBUG%"=="y" ( set DEBUG_ADDRESS=127.0.0.1:18001 ) - set VMARG_LIST=!VMARG_LIST! -Dlog4j.configuration="!DEBUG_LOG4J!" + set VMARG_LIST=!VMARG_LIST! -Dlog4j.configurationFile="!DEBUG_LOG4J!" set VMARG_LIST=!VMARG_LIST! -agentlib:jdwp=transport=dt_socket,server=y,suspend=!SUSPEND!,address=!DEBUG_ADDRESS! goto continue3 )