Add formatted timestamps to API logs
This commit is contained in:
parent
1f5672e98b
commit
6e4169c6ad
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user