mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-01-26 15:36:33 -06:00
typo fixes
This commit is contained in:
parent
cb6d79f2db
commit
3afbaddf51
@ -87,25 +87,6 @@ public class DocServerApp {
|
||||
}
|
||||
}
|
||||
|
||||
// private static void configureDocServerLogging(LoggerContext context) {
|
||||
// JoranConfigurator jc = new JoranConfigurator();
|
||||
// jc.setContext(context);
|
||||
// context.reset();
|
||||
// context.putProperty("application-name", APPNAME_DOCSERVER);
|
||||
// InputStream is = DocServerApp.class.getClassLoader().getResourceAsStream("logback-docsys.xml");
|
||||
// if (is != null) {
|
||||
// try {
|
||||
// jc.doConfigure(is);
|
||||
// } catch (JoranException e) {
|
||||
// System.err.println("error initializing logging system: " + e.getMessage());
|
||||
// throw new RuntimeException(e);
|
||||
// }
|
||||
// } else {
|
||||
// throw new RuntimeException("No logging context was provided, and " +
|
||||
// "logback-docsys.xml could not be loaded from the classpath.");
|
||||
// }
|
||||
// }
|
||||
|
||||
private static void runServer(String[] serverArgs) {
|
||||
DocServer server = new DocServer();
|
||||
for (int i = 0; i < serverArgs.length; i++) {
|
||||
|
@ -33,7 +33,7 @@ public class DateRangeParser implements Function<String, DateRange> {
|
||||
try {
|
||||
return DateRange.parse(value);
|
||||
} catch (ParseException e) {
|
||||
throw new RuntimeException("unable to parse date rage input '" + value + "': error:" + e.getMessage());
|
||||
throw new RuntimeException("unable to parse date range input '" + value + "': " + e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -53,7 +53,7 @@ public class WebDriverAction implements SyncAction, ActivityDefObserver {
|
||||
return 0;
|
||||
|
||||
} catch (Exception e) {
|
||||
logger.error("Error with cycle(" + value + "), statement(" + commandTemplate.getName() + "): " + e.getMessage());
|
||||
logger.error("Error with cycle(" + value + "), statement(" + commandTemplate.getName() + "): "+e.getMessage());
|
||||
if (errors.equals("stop")) {
|
||||
throw e;
|
||||
}
|
||||
|
@ -55,10 +55,6 @@ public class ScenarioResult {
|
||||
reporter.report();
|
||||
logger.info("-- END METRICS DETAIL --");
|
||||
|
||||
// if (this.exception!=null && !(this.exception instanceof UserException)) {
|
||||
// logger.error("Scenario error: " + this.exception.getMessage(),this.exception);
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user