1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2024-11-23 01:06:17 +00:00

Logging now with millisecond precision.

This commit is contained in:
Fabian Schlenz 2017-02-23 06:22:36 +01:00
parent c945f05c3d
commit 6b44a6c569

View File

@ -52,7 +52,7 @@ public class CommandLineRunner {
PatternLayoutEncoder encoder = new PatternLayoutEncoder(); PatternLayoutEncoder encoder = new PatternLayoutEncoder();
encoder.setContext(rootContext); 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(); encoder.start();
ConsoleAppender<ILoggingEvent> appender = new ConsoleAppender<ILoggingEvent>(); ConsoleAppender<ILoggingEvent> appender = new ConsoleAppender<ILoggingEvent>();