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 @@ + + + + + + + +