Add formatted timestamps to API logs

This commit is contained in:
Colin McDonald 2016-07-10 13:11:45 -04:00
parent 1f5672e98b
commit 6e4169c6ad

View File

@ -8,6 +8,8 @@ final class Main {
public static void main(String[] args) {
System.setProperty("org.slf4j.simpleLogger.defaultLogLevel", "warn");
System.setProperty("org.slf4j.simpleLogger.showDateTime", "true");
System.setProperty("org.slf4j.simpleLogger.dateTimeFormat", "h:mm:ss a");
System.setProperty("org.slf4j.simpleLogger.showThreadName", "false");
System.setProperty("vertx.logger-delegate-factory-class-name", "io.vertx.core.logging.SLF4JLogDelegateFactory");
Vertx.vertx(new VertxOptions().setMetricsOptions(