From 1ec1562e14c915c5a4c5051ac621583083b8da96 Mon Sep 17 00:00:00 2001 From: akobor Date: Tue, 11 Aug 2020 18:29:45 +0200 Subject: [PATCH] Use structured log format in production by default --- src/main/resources/logback.xml | 36 +++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml index 8001398..fdb7baf 100644 --- a/src/main/resources/logback.xml +++ b/src/main/resources/logback.xml @@ -1,20 +1,28 @@ - + - - - - - - true - - - %cyan(%d{HH:mm:ss.SSS}) %gray([%thread]) %highlight(%-5level) %magenta(%logger{36}) - %msg%n - - - - + + + + timestamp + + + + severity + + + + + + 30 + 2048 + 20 + true + + + +