Skip to content

Commit

Permalink
use in-memory log-appender even for perf #1623
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrthomas committed May 31, 2021
1 parent 6c1cb85 commit b5c33d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public ScenarioRuntime(FeatureRuntime featureRuntime, Scenario scenario, Scenari
this.caller = featureRuntime.caller;
perfMode = featureRuntime.perfHook != null;
if (caller.isNone()) {
logAppender = perfMode ? LogAppender.NO_OP : new StringLogAppender(false);
logAppender = new StringLogAppender(false);
engine = new ScenarioEngine(background == null ? new Config() : background.engine.getConfig(), this, new HashMap(), logger);
} else if (caller.isSharedScope()) {
logAppender = caller.parentRuntime.logAppender;
Expand Down

0 comments on commit b5c33d7

Please sign in to comment.