diff --git a/pom.xml b/pom.xml index ccd1227e..e954b394 100644 --- a/pom.xml +++ b/pom.xml @@ -133,12 +133,12 @@ org.slf4j slf4j-api - 1.6.1 + 1.7.7 ch.qos.logback logback-classic - 0.9.27 + 1.1.2 diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml index 3fb505a2..5162d9ae 100644 --- a/src/main/resources/logback.xml +++ b/src/main/resources/logback.xml @@ -1,39 +1,31 @@ - - - %d{HH:mm:ss.SSS} %-5level %logger{35} - %msg%n - - + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + - - - logs/UserAdminWebApp.log - - logs/UserAdminWebApp-%d{yyyy-MM-dd}.log - 5 - + + + logs/UserAdminWebApp.log + + logs/UserAdminWebApp-%d{yyyy-MM-dd}.log + 5 + - - %d{HH:mm:ss.SSS} %-5level %logger{35} - %msg%n - - + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + - - - - + + - - - - - - - - - - + + + + \ No newline at end of file diff --git a/src/test/resources/logback-test.xml b/src/test/resources/logback-test.xml new file mode 100644 index 00000000..799f5a30 --- /dev/null +++ b/src/test/resources/logback-test.xml @@ -0,0 +1,14 @@ + + + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + + + \ No newline at end of file