Skip to content

Commit ff6dfc9

Browse files
authored
typo/spelling fixes (#312)
1 parent 2fa16ee commit ff6dfc9

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

log4j-samples-asynclogger/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ Async logger is designed to optimize this area by replacing the blocking queue w
2626

2727
**Log4J2** supports JSON,XML and YAML in addition to properties file configuration . Here I use XML file for the configuration.
2828

29-
### Add log4j Dependancy :
30-
Add log4j Dependancy in `pom.xml` file:
29+
### Add log4j Dependency :
30+
Add log4j Dependency in `pom.xml` file:
3131

3232
```xml
3333
<dependency>
@@ -42,7 +42,7 @@ Add log4j Dependancy in `pom.xml` file:
4242
</dependency>
4343
```
4444

45-
### Add disruptor Dependancy :
45+
### Add disruptor Dependency :
4646

4747
Add disruptor in `pom.xml` file
4848

@@ -98,7 +98,7 @@ Path : `src/resources/log4j2.xml`
9898

9999

100100
```
101-
3. *Now add `AsyncAppender` Appender into the `Loggers` sections. So after the configuraiton, `log4j2.xml` file should be look like :*
101+
3. *Now add `AsyncAppender` Appender into the `Loggers` sections. So after the configuration, `log4j2.xml` file should be look like :*
102102

103103
```xml
104104
<Configuration status="DEBUG">
@@ -239,6 +239,6 @@ The Output should be l0ok like this in your terminal :
239239
So we are done with configuring `asynchronous` logging in Log4j 2 using the `Log4jContextSelector` system property.
240240
You can optimize the performance of your Java by using The option for asynchronous in Log4J 2 tools.
241241

242-
For more detials you can check this link.
242+
For more details you can check this link.
243243
[https://logging.apache.org/log4j/2.x/manual/async.html
244244
](https://logging.apache.org/log4j/2.x/manual/async.html)

log4j-samples-asynclogger/src/main/java/org/apache/logging/log4j/samples/async/Log4J2AsyncLoggerExceptionExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ public static void main(String[] args) {
3333
}
3434

3535
static int getException() throws IllegalArgumentException {
36-
throw new IllegalArgumentException("Hello, Something Went Wrong. Exception Occured!!");
36+
throw new IllegalArgumentException("Hello, Something Went Wrong. Exception Occurred!!");
3737
}
3838
}

log4j-spring-cloud-config-sample-application/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ other Kubernetes environments.
6060

6161
### Prerequisites
6262
Note: This guide assumes you already have Docker and Kubernetes installed. Since the same container is used for
63-
Kubernetes as with Docker, Java 11 is also required. This implmentation uses an ELK stack which is expected to
63+
Kubernetes as with Docker, Java 11 is also required. This implementation uses an ELK stack which is expected to
6464
be installed. They can be downloaded individually and started as local applications on the development
6565
machine for testing. Logstash should be configured as shown in
6666
[Logging in the Cloud](http://logging.apache.org/log4j/2.x/manual/cloud.html).

0 commit comments

Comments
 (0)