From cfc787394a506459c71b4a124149e5d6de7690a8 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 8 Dec 2022 10:16:56 +0300 Subject: Conditional logging configuration --- src/main/resources/logback-spring.xml | 94 +++++++++++++++++++---------------- 1 file changed, 51 insertions(+), 43 deletions(-) diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml index 5e2fd704..7dc247c4 100644 --- a/src/main/resources/logback-spring.xml +++ b/src/main/resources/logback-spring.xml @@ -1,49 +1,57 @@ + - - + + + - + - - ${LOG_PATH}/xmpp.log - true - - %d{yyyy-MM-dd HH:mm:ss} %logger{36} - %msg%n - - - - ${LOG_PATH}/session.log - true - - %d{yyyy-MM-dd HH:mm:ss} %logger{36} - %msg%n - - - - ${LOG_PATH}/durov.log - true - - %d{yyyy-MM-dd HH:mm:ss} %logger{36} - %msg%n - - - - ${LOG_PATH}/activity.log - true - - %d{yyyy-MM-dd HH:mm:ss} %logger{36} - %msg%n - - - - - - - - - - - - - - + + + + + + + ${LOG_PATH}/xmpp.log + true + + %d{yyyy-MM-dd HH:mm:ss} %logger{36} - %msg%n + + + + ${LOG_PATH}/session.log + true + + %d{yyyy-MM-dd HH:mm:ss} %logger{36} - %msg%n + + + + ${LOG_PATH}/durov.log + true + + %d{yyyy-MM-dd HH:mm:ss} %logger{36} - %msg%n + + + + ${LOG_PATH}/activity.log + true + + %d{yyyy-MM-dd HH:mm:ss} %logger{36} - %msg%n + + + + + + + + + + + + + + + -- cgit v1.2.3