From 3018e957769d867fa19736fb4d42387af4cd4f22 Mon Sep 17 00:00:00 2001 From: Jonathan Shook Date: Tue, 21 Apr 2020 11:22:17 -0500 Subject: [PATCH] support adjusting general logger level --- .../main/java/io/nosqlbench/engine/core/ScenarioLogger.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/engine-core/src/main/java/io/nosqlbench/engine/core/ScenarioLogger.java b/engine-core/src/main/java/io/nosqlbench/engine/core/ScenarioLogger.java index b35b04a2a..4359e1a3f 100644 --- a/engine-core/src/main/java/io/nosqlbench/engine/core/ScenarioLogger.java +++ b/engine-core/src/main/java/io/nosqlbench/engine/core/ScenarioLogger.java @@ -56,6 +56,11 @@ public class ScenarioLogger { return this; } + public ScenarioLogger setLevel(Level level) { + this.logLevel = level; + return this; + } + public ScenarioLogger setLevel(String levelname) { this.logLevel = Level.toLevel(levelname); return this;