diff --git a/frameworks/opentelemetry/benchmark.sh b/frameworks/opentelemetry/benchmark.sh
index 709bb7fbb759b88b1a69c284c304a9f7894dc9f9..d26058d7aefbbdac50e33b61951f5a55a69f1ba0 100755
--- a/frameworks/opentelemetry/benchmark.sh
+++ b/frameworks/opentelemetry/benchmark.sh
@@ -86,12 +86,13 @@ function runOpenTelemetryLogging {
     ${JAVABIN}java ${JAVAARGS_OPENTELEMETRY_LOGGING} ${JAR} \
         --output-filename ${RAWFN}-${i}-${j}-${k}.csv \
         --total-calls ${TOTAL_NUM_OF_CALLS} \
-        --method-time ${METHODTIME} \
+        --method-time ${METHOD_TIME} \
         --total-threads ${THREADS} \
         --recursion-depth ${j} \
         ${MOREPARAMS} &> ${RESULTS_DIR}output_"$i"_opentelemetry_logging.txt
     if [ ! "$DEBUG" = true ]
     then
+    	echo "DEBUG is $DEBUG, deleting opentelemetry logging file"
     	rm ${RESULTS_DIR}output_"$i"_opentelemetry_logging.txt
     fi
 }