From b91a6a09b5661f34d296cf40f2ff3fc58b2b3bf2 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 8 Dec 2022 04:37:02 +0000 Subject: Add production logging configuration --- src/main/resources/logback-spring.xml | 49 +++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 src/main/resources/logback-spring.xml (limited to 'src') diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml new file mode 100644 index 00000000..5e2fd704 --- /dev/null +++ b/src/main/resources/logback-spring.xml @@ -0,0 +1,49 @@ + + + + + + + + + + ${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