You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2021/01/19 15:04:47 UTC
[logging-log4j2] branch release-2.x updated: Fix formatting in
log4j-spring-cloud-config-sample-application README (#461)
This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/release-2.x by this push:
new 6fc4414 Fix formatting in log4j-spring-cloud-config-sample-application README (#461)
6fc4414 is described below
commit 6fc4414d9341bf2f8eebda548e1a7eea8e8dce8a
Author: Marcin ZajÄ…czkowski <ms...@wp.pl>
AuthorDate: Tue Jan 19 16:01:46 2021 +0100
Fix formatting in log4j-spring-cloud-config-sample-application README (#461)
---
.../log4j-spring-cloud-config-sample-application/README.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/README.md b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/README.md
index 59311e3..686be3a 100644
--- a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/README.md
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/README.md
@@ -1,4 +1,4 @@
-#Log4j Spring Cloud Sample Application
+# Log4j Spring Cloud Sample Application
This application uses Spring Boot and reads the logging configuration from the companion Spring Cloud Config Server
project. The log4j2.xml file is located in the config-repo directory in that project.
@@ -20,7 +20,7 @@ brew install kafka
zookeeper-server-start /usr/local/etc/kafka/zookeeper.properties & kafka-server-start /usr/local/etc/kafka/server.properties
```
-###Starting the Application
+### Starting the Application
* Start the companion rabbit-mq, fluent-bit and flume images `./docker/up.sh`
* Compile and start local application image `./docker/restartApp.sh`
* The application exposes two endpoints.
@@ -29,7 +29,7 @@ zookeeper-server-start /usr/local/etc/kafka/zookeeper.properties & kafka-server-
1. http://localhost:8080/sample/exception This endpoint generates an exception that can be used to verify whether
multiline logging works with the chosen set of components.
-###Viewing the logs
+### Viewing the logs
Accessing the log files varies depending on the appending being used. When logging to the console "docker logs" may
be used. As configured, Flume will write to files in /var/log/flume, fluent-bit to the standard output of its container.