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:
parent
c945f05c3d
commit
6b44a6c569
@ -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>();
|
||||||
|
Loading…
Reference in New Issue
Block a user