Skip to content

Commit 7c2cc36

Browse files
authored
Fix access logging (#514)
There was a bug in logback-access breaking configuration, this is fixed in v2.0.9. Ref: qos-ch/logback-access#33
1 parent 57c6c43 commit 7c2cc36

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

klass-api/pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
34
<modelVersion>4.0.0</modelVersion>
45

56
<name>Klass API</name>
@@ -88,12 +89,12 @@
8889
<dependency>
8990
<groupId>ch.qos.logback.access</groupId>
9091
<artifactId>logback-access-common</artifactId>
91-
<version>2.0.7</version>
92+
<version>2.0.9</version>
9293
</dependency>
9394
<dependency>
9495
<groupId>ch.qos.logback.access</groupId>
9596
<artifactId>logback-access-tomcat</artifactId>
96-
<version>2.0.7</version>
97+
<version>2.0.9</version>
9798
</dependency>
9899
<dependency>
99100
<groupId>net.logstash.logback</groupId>

klass-api/src/main/resources/application.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ springdoc.swagger-ui.path=${klass.env.api.base.path}/swagger-ui.html
4646
springdoc.api-docs.path=${klass.env.api.base.path}/v3/api-docs
4747
spring.web.resources.add-mappings=false
4848
# Logging properties
49-
logging.level.org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping=TRACE
50-
logging.level.no.ssb.klass=INFO
49+
logging.level.root=INFO
5150
# Mail properties
5251
klass.env.client.klass-mail.url=http://localhost:8082
5352
# hibernate config

klass-api/src/main/resources/logback-access.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
12
<configuration debug="false">
23
<appender name="accessJsonConsoleAppender" class="ch.qos.logback.core.ConsoleAppender">
34
<filter class="ch.qos.logback.core.filter.EvaluatorFilter">

0 commit comments

Comments
 (0)