From 8fd99bde8b49de348148996a03351d28b80ac741 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 17 Dec 2014 11:06:42 -0800 Subject: [PATCH] Update samples to use specific log configuration --- .../src/main/resources/application.properties | 2 +- .../src/main/resources/application.properties | 2 +- .../src/main/resources/application.properties | 4 ++-- .../src/main/resources/logback.xml | 8 ++++++++ 4 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 spring-boot-samples/spring-boot-sample-actuator/src/main/resources/logback.xml diff --git a/spring-boot-samples/spring-boot-sample-actuator-log4j/src/main/resources/application.properties b/spring-boot-samples/spring-boot-sample-actuator-log4j/src/main/resources/application.properties index a55daff33f..68952c2ab7 100644 --- a/spring-boot-samples/spring-boot-sample-actuator-log4j/src/main/resources/application.properties +++ b/spring-boot-samples/spring-boot-sample-actuator-log4j/src/main/resources/application.properties @@ -1,4 +1,4 @@ -logging.file: /tmp/logs/app.log +#logging.file: /tmp/logs/app.log #server.port: 8080 #management.port: 8080 management.address: 127.0.0.1 diff --git a/spring-boot-samples/spring-boot-sample-actuator-log4j2/src/main/resources/application.properties b/spring-boot-samples/spring-boot-sample-actuator-log4j2/src/main/resources/application.properties index 0f0b272726..d336fdfcb7 100644 --- a/spring-boot-samples/spring-boot-sample-actuator-log4j2/src/main/resources/application.properties +++ b/spring-boot-samples/spring-boot-sample-actuator-log4j2/src/main/resources/application.properties @@ -1,4 +1,4 @@ -logging.file: /tmp/logs/app.log +#logging.file: /tmp/logs/app.log #server.port: 8080 #management.port: 8080 management.address: 127.0.0.1 diff --git a/spring-boot-samples/spring-boot-sample-actuator/src/main/resources/application.properties b/spring-boot-samples/spring-boot-sample-actuator/src/main/resources/application.properties index 1dee69a2f8..e155eac6e5 100644 --- a/spring-boot-samples/spring-boot-sample-actuator/src/main/resources/application.properties +++ b/spring-boot-samples/spring-boot-sample-actuator/src/main/resources/application.properties @@ -1,5 +1,5 @@ -logging.file: /tmp/logs/app.log -logging.level.org.springframework.security: INFO +# logging.file: /tmp/logs/app.log +# logging.level.org.springframework.security: INFO management.address: 127.0.0.1 #management.port: 8181 endpoints.shutdown.enabled: true diff --git a/spring-boot-samples/spring-boot-sample-actuator/src/main/resources/logback.xml b/spring-boot-samples/spring-boot-sample-actuator/src/main/resources/logback.xml new file mode 100644 index 0000000000..edd9bda58a --- /dev/null +++ b/spring-boot-samples/spring-boot-sample-actuator/src/main/resources/logback.xml @@ -0,0 +1,8 @@ + + + + + + + +