Skip to content

Commit

Permalink
Re-enable Logbook
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatan-ivanov committed Nov 26, 2023
1 parent 4406fbb commit c345980
Show file tree
Hide file tree
Showing 17 changed files with 61 additions and 26 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ subprojects {
dependencies.add(conf, platform("org.springframework.boot:spring-boot-dependencies:$springBootVersion"))
dependencies.add(conf, platform("org.springframework.cloud:spring-cloud-dependencies:$springCloudVersion"))
dependencies.add(conf, platform("org.springframework.data:spring-data-bom:$springDataVersion"))
// dependencies.add(conf, platform('org.zalando:logbook-bom:latest.release'))
dependencies.add(conf, platform('org.zalando:logbook-bom:latest.release'))
}
testImplementation platform('org.junit:junit-bom:latest.release')

Expand Down
1 change: 1 addition & 0 deletions core/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,5 @@ org.springframework:spring-expression:6.1.1=compileClasspath,runtimeClasspath,te
org.springframework:spring-jcl:6.1.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework:spring-web:6.1.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework:spring-webmvc:6.1.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-bom:3.6.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
empty=testAnnotationProcessor
1 change: 1 addition & 0 deletions eureka/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -182,5 +182,6 @@ org.springframework:spring-web:6.1.1=compileClasspath,productionRuntimeClasspath
org.springframework:spring-webmvc:6.1.1=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.xmlunit:xmlunit-core:2.9.1=testCompileClasspath,testRuntimeClasspath
org.yaml:snakeyaml:2.2=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-bom:3.6.0=annotationProcessor,compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
xmlpull:xmlpull:1.1.3.1=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
empty=developmentOnly,testAndDevelopmentOnly,testAnnotationProcessor
1 change: 1 addition & 0 deletions spring-boot-admin/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -188,5 +188,6 @@ org.thymeleaf:thymeleaf:3.1.2.RELEASE=compileClasspath,productionRuntimeClasspat
org.unbescape:unbescape:1.1.6.RELEASE=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.xmlunit:xmlunit-core:2.9.1=testCompileClasspath,testRuntimeClasspath
org.yaml:snakeyaml:2.2=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-bom:3.6.0=annotationProcessor,compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
xmlpull:xmlpull:1.1.3.1=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
empty=developmentOnly,testAndDevelopmentOnly,testAnnotationProcessor
4 changes: 2 additions & 2 deletions tea-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ dependencies {

implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.+'

// implementation 'org.zalando:logbook-spring-boot-starter'
// implementation 'org.zalando:logbook-okhttp'
implementation 'org.zalando:logbook-spring-boot-starter'
implementation 'org.zalando:logbook-okhttp'

runtimeOnly 'com.github.loki4j:loki-logback-appender:latest.release'
}
15 changes: 13 additions & 2 deletions tea-service/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ com.fasterxml.jackson:jackson-bom:2.15.3=compileClasspath,productionRuntimeClass
com.fasterxml.woodstox:woodstox-core:6.2.1=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.fasterxml:classmate:1.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.github.loki4j:loki-logback-appender:1.4.2=productionRuntimeClasspath,runtimeClasspath,testRuntimeClasspath
com.google.code.findbugs:jsr305:3.0.2=productionRuntimeClasspath,runtimeClasspath,testRuntimeClasspath
com.google.code.findbugs:jsr305:3.0.2=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.google.code.gson:gson:2.10.1=productionRuntimeClasspath,runtimeClasspath,testRuntimeClasspath
com.google.errorprone:error_prone_annotations:2.21.1=productionRuntimeClasspath,runtimeClasspath,testRuntimeClasspath
com.google.guava:failureaccess:1.0.1=productionRuntimeClasspath,runtimeClasspath,testRuntimeClasspath
Expand Down Expand Up @@ -113,7 +113,7 @@ org.apache.tomcat.embed:tomcat-embed-core:10.1.16=compileClasspath,productionRun
org.apache.tomcat.embed:tomcat-embed-el:10.1.16=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.tomcat.embed:tomcat-embed-websocket:10.1.16=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.tomcat:tomcat-annotations-api:10.1.16=productionRuntimeClasspath,runtimeClasspath,testRuntimeClasspath
org.apiguardian:apiguardian-api:1.1.2=testCompileClasspath
org.apiguardian:apiguardian-api:1.1.2=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.aspectj:aspectjweaver:1.9.20.1=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.assertj:assertj-core:3.24.2=testCompileClasspath,testRuntimeClasspath
org.atteo:evo-inflector:1.3=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
Expand Down Expand Up @@ -211,5 +211,16 @@ org.unbescape:unbescape:1.1.6.RELEASE=compileClasspath,productionRuntimeClasspat
org.webjars:swagger-ui:5.2.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.xmlunit:xmlunit-core:2.9.1=testCompileClasspath,testRuntimeClasspath
org.yaml:snakeyaml:2.2=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:faux-pas:0.9.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-api:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-bom:3.6.0=annotationProcessor,compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-common:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-core:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-json:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-okhttp:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-servlet:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-spring-boot-autoconfigure:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-spring-boot-starter:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-spring:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
xmlpull:xmlpull:1.1.3.1=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
empty=developmentOnly,testAndDevelopmentOnly,testAnnotationProcessor
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
package org.example.teahouse.tea.config;

import okhttp3.OkHttpClient;
import org.zalando.logbook.Logbook;
import org.zalando.logbook.okhttp.LogbookInterceptor;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class LogBookConfig {

// TODO: After Logbook releases support for Boot 3
// @Bean
// public LogbookInterceptor logbookInterceptor(Logbook logbook) {
// return new LogbookInterceptor(logbook);
// }
//
// @Bean
// public OkHttpClientFactory okHttpClientFactory(OkHttpClient.Builder builder, LogbookInterceptor logbookInterceptor) {
// builder.addNetworkInterceptor(logbookInterceptor);
// return new DefaultOkHttpClientFactory(builder);
// }
@Bean
public OkHttpClient.Builder okHttpClientBuilder(Logbook logbook) {
return new OkHttpClient.Builder()
.addNetworkInterceptor(new LogbookInterceptor(logbook));
}
}
2 changes: 1 addition & 1 deletion tea-service/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spring.jackson.date-format=com.fasterxml.jackson.databind.util.ISO8601DateFormat
spring.mvc.problemdetails.enabled=true

logging.file.name=${spring.application.home:.}/logs/${spring.application.name}.log
logbook.exclude=/actuator/**
logbook.predicate.exclude[0].path=/actuator/**

management.endpoints.web.exposure.include=*
management.endpoint.health.show-details=always
Expand Down
1 change: 1 addition & 0 deletions tea-service/tea-api/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ org.projectlombok:lombok:1.18.30=annotationProcessor,compileClasspath
org.springframework.boot:spring-boot-dependencies:3.2.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.cloud:spring-cloud-dependencies:2023.0.0-RC1=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.data:spring-data-bom:2023.1.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-bom:3.6.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
empty=testAnnotationProcessor
2 changes: 1 addition & 1 deletion tealeaf-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies {

implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.+'

// implementation 'org.zalando:logbook-spring-boot-starter'
implementation 'org.zalando:logbook-spring-boot-starter'

runtimeOnly 'com.github.loki4j:loki-logback-appender:latest.release'

Expand Down
14 changes: 12 additions & 2 deletions tealeaf-service/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ com.fasterxml.jackson:jackson-bom:2.15.3=compileClasspath,productionRuntimeClass
com.fasterxml.woodstox:woodstox-core:6.2.1=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.fasterxml:classmate:1.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.github.loki4j:loki-logback-appender:1.4.2=productionRuntimeClasspath,runtimeClasspath,testRuntimeClasspath
com.google.code.findbugs:jsr305:3.0.2=productionRuntimeClasspath,runtimeClasspath,testRuntimeClasspath
com.google.code.findbugs:jsr305:3.0.2=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.google.code.gson:gson:2.10.1=productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.google.errorprone:error_prone_annotations:2.21.1=productionRuntimeClasspath,runtimeClasspath,testRuntimeClasspath
com.google.guava:failureaccess:1.0.1=productionRuntimeClasspath,runtimeClasspath,testRuntimeClasspath
Expand Down Expand Up @@ -117,7 +117,7 @@ org.apache.tomcat.embed:tomcat-embed-core:10.1.16=compileClasspath,productionRun
org.apache.tomcat.embed:tomcat-embed-el:10.1.16=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.tomcat.embed:tomcat-embed-websocket:10.1.16=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.tomcat:tomcat-annotations-api:10.1.16=productionRuntimeClasspath,runtimeClasspath,testRuntimeClasspath
org.apiguardian:apiguardian-api:1.1.2=testCompileClasspath
org.apiguardian:apiguardian-api:1.1.2=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.aspectj:aspectjweaver:1.9.20.1=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.assertj:assertj-core:3.24.2=testCompileClasspath,testRuntimeClasspath
org.atteo:evo-inflector:1.3=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
Expand Down Expand Up @@ -217,5 +217,15 @@ org.springframework:spring-webmvc:6.1.1=compileClasspath,productionRuntimeClassp
org.webjars:swagger-ui:5.2.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.xmlunit:xmlunit-core:2.9.1=testCompileClasspath,testRuntimeClasspath
org.yaml:snakeyaml:2.2=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:faux-pas:0.9.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-api:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-bom:3.6.0=annotationProcessor,compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-common:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-core:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-json:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-servlet:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-spring-boot-autoconfigure:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-spring-boot-starter:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-spring:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
xmlpull:xmlpull:1.1.3.1=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
empty=developmentOnly,testAndDevelopmentOnly,testAnnotationProcessor
2 changes: 1 addition & 1 deletion tealeaf-service/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spring.jackson.date-format=com.fasterxml.jackson.databind.util.ISO8601DateFormat
spring.mvc.problemdetails.enabled=true

logging.file.name=${spring.application.home:.}/logs/${spring.application.name}.log
logbook.exclude=/actuator/**
logbook.predicate.exclude[0].path=/actuator/**

management.endpoints.web.exposure.include=*
management.endpoint.health.show-details=always
Expand Down
1 change: 1 addition & 0 deletions tealeaf-service/tealeaf-api/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ org.projectlombok:lombok:1.18.30=annotationProcessor,compileClasspath
org.springframework.boot:spring-boot-dependencies:3.2.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.cloud:spring-cloud-dependencies:2023.0.0-RC1=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.data:spring-data-bom:2023.1.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-bom:3.6.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
empty=testAnnotationProcessor
2 changes: 1 addition & 1 deletion water-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies {

implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.+'

// implementation 'org.zalando:logbook-spring-boot-starter'
implementation 'org.zalando:logbook-spring-boot-starter'

runtimeOnly 'com.github.loki4j:loki-logback-appender:latest.release'

Expand Down
14 changes: 12 additions & 2 deletions water-service/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ com.fasterxml.jackson:jackson-bom:2.15.3=compileClasspath,productionRuntimeClass
com.fasterxml.woodstox:woodstox-core:6.2.1=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.fasterxml:classmate:1.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.github.loki4j:loki-logback-appender:1.4.2=productionRuntimeClasspath,runtimeClasspath,testRuntimeClasspath
com.google.code.findbugs:jsr305:3.0.2=productionRuntimeClasspath,runtimeClasspath,testRuntimeClasspath
com.google.code.findbugs:jsr305:3.0.2=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.google.code.gson:gson:2.10.1=productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.google.errorprone:error_prone_annotations:2.21.1=productionRuntimeClasspath,runtimeClasspath,testRuntimeClasspath
com.google.guava:failureaccess:1.0.1=productionRuntimeClasspath,runtimeClasspath,testRuntimeClasspath
Expand Down Expand Up @@ -117,7 +117,7 @@ org.apache.tomcat.embed:tomcat-embed-core:10.1.16=compileClasspath,productionRun
org.apache.tomcat.embed:tomcat-embed-el:10.1.16=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.tomcat.embed:tomcat-embed-websocket:10.1.16=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.tomcat:tomcat-annotations-api:10.1.16=productionRuntimeClasspath,runtimeClasspath,testRuntimeClasspath
org.apiguardian:apiguardian-api:1.1.2=testCompileClasspath
org.apiguardian:apiguardian-api:1.1.2=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.aspectj:aspectjweaver:1.9.20.1=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.assertj:assertj-core:3.24.2=testCompileClasspath,testRuntimeClasspath
org.atteo:evo-inflector:1.3=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
Expand Down Expand Up @@ -217,5 +217,15 @@ org.springframework:spring-webmvc:6.1.1=compileClasspath,productionRuntimeClassp
org.webjars:swagger-ui:5.2.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.xmlunit:xmlunit-core:2.9.1=testCompileClasspath,testRuntimeClasspath
org.yaml:snakeyaml:2.2=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:faux-pas:0.9.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-api:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-bom:3.6.0=annotationProcessor,compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-common:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-core:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-json:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-servlet:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-spring-boot-autoconfigure:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-spring-boot-starter:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.zalando:logbook-spring:3.6.0=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
xmlpull:xmlpull:1.1.3.1=compileClasspath,productionRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
empty=developmentOnly,testAndDevelopmentOnly,testAnnotationProcessor
2 changes: 1 addition & 1 deletion water-service/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spring.jackson.date-format=com.fasterxml.jackson.databind.util.ISO8601DateFormat
spring.mvc.problemdetails.enabled=true

logging.file.name=${spring.application.home:.}/logs/${spring.application.name}.log
logbook.exclude=/actuator/**
logbook.predicate.exclude[0].path=/actuator/**

management.endpoints.web.exposure.include=*
management.endpoint.health.show-details=always
Expand Down
Loading

0 comments on commit c345980

Please sign in to comment.