mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-11-30 20:43:55 -06:00
make info less chatty by pushing some things to debug
This commit is contained in:
parent
50bf233c27
commit
cdf2bd5968
@ -22,12 +22,12 @@ public class RawStmtsLoader {
|
||||
public RawStmtsDocList loadString(Logger logger, String data) {
|
||||
|
||||
try {
|
||||
if (logger != null) logger.debug("Applying string transformer to yaml data:" + data);
|
||||
if (logger != null) logger.trace("Applying string transformer to yaml data:" + data);
|
||||
for (Function<String, String> transformer : transformers) {
|
||||
data = transformer.apply(data);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
RuntimeException t = new ActivityInitializationError("Error applying string applyTransforms to input", e);
|
||||
RuntimeException t = new ActivityInitializationError("Error applying string transforms to input", e);
|
||||
throw t;
|
||||
}
|
||||
|
||||
@ -71,10 +71,10 @@ public class RawStmtsLoader {
|
||||
protected String applyTransforms(Logger logger, String data) {
|
||||
for (Function<String, String> xform : stringTransformers) {
|
||||
try {
|
||||
if (logger != null) logger.debug("Applying string transformer to yaml data:" + xform);
|
||||
if (logger != null) logger.trace("Applying string transformer to yaml data:" + xform);
|
||||
data = xform.apply(data);
|
||||
} catch (Exception e) {
|
||||
RuntimeException t = new ActivityInitializationError("Error applying string applyTransforms to input", e);
|
||||
RuntimeException t = new ActivityInitializationError("Error applying string transforms to input", e);
|
||||
throw t;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user