This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j-samples.git
The following commit(s) were added to refs/heads/main by this push:
new ff6dfc9 typo/spelling fixes (#312)
ff6dfc9 is described below
commit ff6dfc902e56fcbbf005fecdd7ea677b3a35cd1b
Author: Andrii Andriichuk <[email protected]>
AuthorDate: Sun Apr 13 21:48:13 2025 +0200
typo/spelling fixes (#312)
---
log4j-samples-asynclogger/README.md | 10 +++++-----
.../log4j/samples/async/Log4J2AsyncLoggerExceptionExample.java | 2 +-
log4j-spring-cloud-config-sample-application/README.md | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/log4j-samples-asynclogger/README.md
b/log4j-samples-asynclogger/README.md
index cd5ce1c..0a948f5 100644
--- a/log4j-samples-asynclogger/README.md
+++ b/log4j-samples-asynclogger/README.md
@@ -26,8 +26,8 @@ Async logger is designed to optimize this area by replacing
the blocking queue w
**Log4J2** supports JSON,XML and YAML in addition to properties file
configuration . Here I use XML file for the configuration.
-### Add log4j Dependancy :
-Add log4j Dependancy in `pom.xml` file:
+### Add log4j Dependency :
+Add log4j Dependency in `pom.xml` file:
```xml
<dependency>
@@ -42,7 +42,7 @@ Add log4j Dependancy in `pom.xml` file:
</dependency>
```
-### Add disruptor Dependancy :
+### Add disruptor Dependency :
Add disruptor in `pom.xml` file
@@ -98,7 +98,7 @@ Path : `src/resources/log4j2.xml`
```
-3. *Now add `AsyncAppender` Appender into the `Loggers` sections. So after the
configuraiton, `log4j2.xml` file should be look like :*
+3. *Now add `AsyncAppender` Appender into the `Loggers` sections. So after the
configuration, `log4j2.xml` file should be look like :*
```xml
<Configuration status="DEBUG">
@@ -239,6 +239,6 @@ The Output should be l0ok like this in your terminal :
So we are done with configuring `asynchronous` logging in Log4j 2 using the
`Log4jContextSelector` system property.
You can optimize the performance of your Java by using The option for
asynchronous in Log4J 2 tools.
-For more detials you can check this link.
+For more details you can check this link.
[https://logging.apache.org/log4j/2.x/manual/async.html
](https://logging.apache.org/log4j/2.x/manual/async.html)
diff --git
a/log4j-samples-asynclogger/src/main/java/org/apache/logging/log4j/samples/async/Log4J2AsyncLoggerExceptionExample.java
b/log4j-samples-asynclogger/src/main/java/org/apache/logging/log4j/samples/async/Log4J2AsyncLoggerExceptionExample.java
index 033bcb0..c49e399 100644
---
a/log4j-samples-asynclogger/src/main/java/org/apache/logging/log4j/samples/async/Log4J2AsyncLoggerExceptionExample.java
+++
b/log4j-samples-asynclogger/src/main/java/org/apache/logging/log4j/samples/async/Log4J2AsyncLoggerExceptionExample.java
@@ -33,6 +33,6 @@ public class Log4J2AsyncLoggerExceptionExample {
}
static int getException() throws IllegalArgumentException {
- throw new IllegalArgumentException("Hello, Something Went Wrong.
Exception Occured!!");
+ throw new IllegalArgumentException("Hello, Something Went Wrong.
Exception Occurred!!");
}
}
diff --git a/log4j-spring-cloud-config-sample-application/README.md
b/log4j-spring-cloud-config-sample-application/README.md
index d8f2771..57e61a0 100644
--- a/log4j-spring-cloud-config-sample-application/README.md
+++ b/log4j-spring-cloud-config-sample-application/README.md
@@ -60,7 +60,7 @@ other Kubernetes environments.
### Prerequisites
Note: This guide assumes you already have Docker and Kubernetes installed.
Since the same container is used for
-Kubernetes as with Docker, Java 11 is also required. This implmentation uses
an ELK stack which is expected to
+Kubernetes as with Docker, Java 11 is also required. This implementation uses
an ELK stack which is expected to
be installed. They can be downloaded individually and started as local
applications on the development
machine for testing. Logstash should be configured as shown in
[Logging in the Cloud](http://logging.apache.org/log4j/2.x/manual/cloud.html).