mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-16 17:34:52 -06:00
fix for #352 progress indicator on console
This commit is contained in:
parent
2960139628
commit
df1764f5ca
@ -691,7 +691,7 @@ public class NBCLIOptions {
|
||||
public String getProgressSpec() {
|
||||
ProgressSpec spec = parseProgressSpec(this.progressSpec);// sanity check
|
||||
if (spec.indicatorMode == IndicatorMode.console) {
|
||||
if (NBLogLevel.INFO.isGreaterOrEqualTo(getConsoleLogLevel())) {
|
||||
if (getConsoleLogLevel().isGreaterOrEqualTo(NBLogLevel.INFO)) {
|
||||
// System.err.println("Console is already logging info or more, so progress data on console is " +
|
||||
// "suppressed.");
|
||||
spec.indicatorMode = IndicatorMode.logonly;
|
||||
|
Loading…
Reference in New Issue
Block a user