File tree Expand file tree Collapse file tree 3 files changed +23
-1
lines changed
java/org/mobilitydata/gtfsvalidator/web/service/util Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ COPY ${JAR_FILES} /
27
27
ADD ./newrelic/newrelic.jar /newrelic/newrelic.jar
28
28
29
29
ENV SPRING_PROFILES_ACTIVE=cloud
30
+ ENV SPRING_MAIN_BANNER-MODE=off
30
31
ENV SENTRY_LOGGING_MINIMUM_EVENT_LEVEL=error
31
32
ENV SENTRY_LOGGING_MINIMUM_BREADCRUMB_LEVEL=info
32
33
Original file line number Diff line number Diff line change
1
+ package org .mobilitydata .gtfsvalidator .web .service .util ;
2
+
3
+ import java .util .logging .LogManager ;
4
+ import java .util .logging .Logger ;
5
+ import javax .annotation .PostConstruct ;
6
+ import org .slf4j .bridge .SLF4JBridgeHandler ;
7
+ import org .springframework .context .annotation .Configuration ;
8
+
9
+ @ Configuration
10
+ public class LoggingBridgeConfig {
11
+
12
+ @ PostConstruct
13
+ public void setupJulToSlf4jBridge () {
14
+ // Reset JUL root logger and install SLF4J bridge
15
+ LogManager .getLogManager ().reset ();
16
+ SLF4JBridgeHandler .removeHandlersForRootLogger ();
17
+ SLF4JBridgeHandler .install ();
18
+
19
+ Logger rootLogger = Logger .getLogger ("" );
20
+ }
21
+ }
Original file line number Diff line number Diff line change 34
34
<logger name =" org.apache.catalina" level =" WARN" />
35
35
<logger name =" org.apache.coyote" level =" WARN" />
36
36
<logger name =" org.apache.tomcat" level =" WARN" />
37
- <logger name =" org.springframework.web" level =" WARN" />
37
+ <logger name =" org.springframework.web" level =" WARN" additivity = " false " />
38
38
<logger name =" com.google.cloud.spring.core" level =" WARN" />
39
39
<logger name =" com.google.cloud.spring.autoconfigure" level =" WARN" />
40
40
You can’t perform that action at this time.
0 commit comments