From 6b44a6c569aa0dad87981e7c87267293c15e9692 Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Thu, 23 Feb 2017 06:22:36 +0100 Subject: [PATCH] Logging now with millisecond precision. --- .../java/de/fabianonline/telegram_backup/CommandLineRunner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/fabianonline/telegram_backup/CommandLineRunner.java b/src/main/java/de/fabianonline/telegram_backup/CommandLineRunner.java index 7058f5c..b2b598a 100644 --- a/src/main/java/de/fabianonline/telegram_backup/CommandLineRunner.java +++ b/src/main/java/de/fabianonline/telegram_backup/CommandLineRunner.java @@ -52,7 +52,7 @@ public class CommandLineRunner { PatternLayoutEncoder encoder = new PatternLayoutEncoder(); encoder.setContext(rootContext); - encoder.setPattern("%d{HH:mm:ss} %-5level %-35.-35(%logger{0}.%method): %message%n"); + encoder.setPattern("%d{HH:mm:ss.SSS} %-5level %-35.-35(%logger{0}.%method): %message%n"); encoder.start(); ConsoleAppender appender = new ConsoleAppender();