From ef9d84a967a413cf5fd511f831562590ab8e7028 Mon Sep 17 00:00:00 2001 From: Will Reichert Date: Tue, 15 Oct 2024 10:14:21 -0400 Subject: [PATCH] fix #223 log command when using stream-logging --- src/main/java/io/hyperfoil/tools/qdup/cmd/impl/Sh.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/io/hyperfoil/tools/qdup/cmd/impl/Sh.java b/src/main/java/io/hyperfoil/tools/qdup/cmd/impl/Sh.java index c61d02b5..79778985 100644 --- a/src/main/java/io/hyperfoil/tools/qdup/cmd/impl/Sh.java +++ b/src/main/java/io/hyperfoil/tools/qdup/cmd/impl/Sh.java @@ -95,6 +95,10 @@ public void run(String input, Context context) { }, populated ); + //log the command if using stream logging + if(context.getCoordinator().getSetting(Globals.STREAM_LOGGING,false)){ + context.log(populatedCommand); + } } context.getCommandTimer().start("await-callback"); }