From fd2293342fae6d41508437a116b0ee21607b9360 Mon Sep 17 00:00:00 2001
From: Mike <76-Mike@users.noreply.git.krews.org>
Date: Tue, 5 May 2020 01:59:28 +0200
Subject: [PATCH] Add rolling files.
---
pom.xml | 12 +++++++
src/main/resources/logback.xml | 64 ++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
diff --git a/pom.xml b/pom.xml
index 35de71dc..d2571ab0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -160,6 +160,18 @@
1.18
+
+ org.codehaus.janino
+ janino
+ 3.1.2
+
+
+
+ org.codehaus.groovy
+ groovy-all
+ 3.0.3
+
+
joda-time
joda-time
diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml
index 8e8ca6b1..7597aff6 100644
--- a/src/main/resources/logback.xml
+++ b/src/main/resources/logback.xml
@@ -7,6 +7,67 @@
+
+ logging/debug.txt
+
+
+
+ e.level == DEBUG
+
+
+ DENY
+ NEUTRAL
+
+
+ logging/debug.%d{yyyy-MM-dd}.%i.gz
+ 50MB
+ 7
+
+
+ %d{HH:mm:ss.SSS} [%thread] %level %logger - %msg%n
+
+
+
+
+ logging/errors/runtime.txt
+
+ error
+
+
+
+ java.sql.SQLException.class.isInstance(throwable)
+
+ DENY
+
+
+ logging/errors/runtime.%d{yyyy-MM-dd}.%i.gz
+ 50MB
+ 7
+
+
+ %d{HH:mm:ss.SSS} [%thread] %level %logger - %msg%n
+
+
+
+
+ logging/errors/sql.txt
+
+
+ java.sql.SQLException.class.isInstance(throwable)
+
+ DENY
+ NEUTRAL
+
+
+ logging/errors/sql.%d{yyyy-MM-dd}.%i.gz
+ 50MB
+ 7
+
+
+ %d{HH:mm:ss.SSS} [%thread] %level %logger - %msg%n
+
+
+
@@ -17,5 +78,8 @@
+
+
+
\ No newline at end of file