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 9f66616 Formatting errors
9f66616 is described below
commit 9f66616da093df711636b9e0c219d0328ca01440
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Sat Feb 18 00:40:23 2023 +0100
Formatting errors
---
NOTICE.txt | 5 +++++
README.adoc | 2 +-
log4j-samples-configuration/README.adoc | 1 +
log4j-samples-flume-embedded/README.adoc | 2 ++
log4j-samples-flume-remote/README.adoc | 2 ++
log4j-samples-loggerProperties/README.adoc | 1 +
6 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/NOTICE.txt b/NOTICE.txt
new file mode 100644
index 0000000..0ff32ce
--- /dev/null
+++ b/NOTICE.txt
@@ -0,0 +1,5 @@
+Apache Log4j Samples
+Copyright 2012-2023 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
diff --git a/README.adoc b/README.adoc
index 52bfa02..9fcd6f0 100644
--- a/README.adoc
+++ b/README.adoc
@@ -24,7 +24,7 @@ Explains how to use a custom programmatic configuration,
xref:log4j-samples-flume-embedded/README.adoc[`log4j-samples-flume-embedded`]::
Explains how to use an embedded Flume agent to send logs to
https://flume.apache.org[Apache Flume],
-xref:log4j-samples-flume-remote/README.adoc[`log4j-samples-flume-embedded`]::
+xref:log4j-samples-flume-remote/README.adoc[`log4j-samples-flume-remote`]::
Explains how to send logs to https://flume.apache.org[Apache Flume],
xref:log4j-samples-loggerProperties/README.adoc[`log4j-samples-loggerProperties`]::
diff --git a/log4j-samples-configuration/README.adoc
b/log4j-samples-configuration/README.adoc
index fbc9a9c..fff3ca4 100644
--- a/log4j-samples-configuration/README.adoc
+++ b/log4j-samples-configuration/README.adoc
@@ -19,6 +19,7 @@ limitations under the License.
This project shows how to write a custom configuration factory.
In order to use it:
+
. install the artifact and its parent locally with `mvn install`,
. add it to your Maven project:
+
diff --git a/log4j-samples-flume-embedded/README.adoc
b/log4j-samples-flume-embedded/README.adoc
index 0678677..e749e22 100644
--- a/log4j-samples-flume-embedded/README.adoc
+++ b/log4j-samples-flume-embedded/README.adoc
@@ -20,6 +20,7 @@ This sample uses the classes in the sample flume-common
project. It will randoml
and send them to Flume. At the same time it will intermix some random
non-audit events.
To run this sample:
+
. Run `mvn install` on the `log4j-samples-flume-common` project.
. Download and install https://flume.apache.org/download.html[Apache Flume].
. Copy the
link:src/main/resources/flume/conf/flume-conf.properties[flume-conf.properties]
to the `conf` directory of where Flume was installed.
@@ -36,6 +37,7 @@ bin/flume-ng agent -n agent -c conf -f
conf/flume-conf.properties
Starting FlumeAvroManager FlumeAvro[localhost:8800]
----
in the Jetty log and that there are no exceptions and also by seeing something
like
++
----
/127.0.0.1:53351 => /127.0.0.1:8800] OPEN
----
diff --git a/log4j-samples-flume-remote/README.adoc
b/log4j-samples-flume-remote/README.adoc
index 789a64f..11c1fbf 100644
--- a/log4j-samples-flume-remote/README.adoc
+++ b/log4j-samples-flume-remote/README.adoc
@@ -19,6 +19,7 @@ limitations under the License.
This sample uses the classes in the sample
link:../log4j-samples-flume-common[log4j-samples-flume-common] project. It will
randomly pick from the events defined there and send them to Flume. At the same
time it will intermix some random non-audit events.
To run this sample:
+
. Run `mvn install` on the `log4j-samples-flume-common` project.
. Download and install https://flume.apache.org/download.html[Apache Flume].
. Copy the
link:src/main/resources/flume/conf/flume-conf.properties[flume-conf.properties]
to the `conf` directory of where Flume was installed.
@@ -35,6 +36,7 @@ bin/flume-ng agent -n agent -c conf -f
conf/flume-conf.properties
Starting FlumeAvroManager FlumeAvro[localhost:8800]
----
in the Jetty log and that there are no exceptions and also by seeing something
like
++
----
/127.0.0.1:53351 => /127.0.0.1:8800] OPEN
----
diff --git a/log4j-samples-loggerProperties/README.adoc
b/log4j-samples-loggerProperties/README.adoc
index 43db85c..a6e8cd6 100644
--- a/log4j-samples-loggerProperties/README.adoc
+++ b/log4j-samples-loggerProperties/README.adoc
@@ -19,6 +19,7 @@ limitations under the License.
This project shows how to write a custom lookup.
In order to use it:
+
. install the artifact and its parent locally with `mvn install`,
. add it to your Maven project:
+