This is an automated email from the ASF dual-hosted git repository.

pkarwasz pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/2.x by this push:
     new 8720edd341 Externalize async logger dependencies
8720edd341 is described below

commit 8720edd341e67743a72302ed59b2d24a35a4bd09
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Tue May 28 14:02:30 2024 +0200

    Externalize async logger dependencies
---
 .../antora/modules/ROOT/pages/manual/async.adoc    | 22 +------------
 .../manual/dependencies-log4j-async-logger.adoc    | 38 ++++++++++++++++++++++
 2 files changed, 39 insertions(+), 21 deletions(-)

diff --git a/src/site/antora/modules/ROOT/pages/manual/async.adoc 
b/src/site/antora/modules/ROOT/pages/manual/async.adoc
index 65d728c2ad..7665aa36c5 100644
--- a/src/site/antora/modules/ROOT/pages/manual/async.adoc
+++ b/src/site/antora/modules/ROOT/pages/manual/async.adoc
@@ -47,27 +47,7 @@ include::partial$manual/async-trade-offs.adoc[leveloffset=+1]
 
 In order to use async loggers, you need to add LMAX Disruptor to you 
application's dependencies, by adding the following dependency to your build 
tool:
 
-[tabs]
-====
-Maven::
-+
-[source,xml,subs="+attributes"]
-----
-<dependency>
-  <groupId>com.lmax</groupId>
-  <artifactId>disruptor</artifactId>
-  <version>{disruptor-version}</version>
-  <scope>runtime</scope>
-</dependency>
-----
-
-Gradle::
-+
-[source,groovy,subs="+attributes"]
-----
-runtimeOnly 'com.lmax:disruptor:{disruptor-version}'
-----
-====
+include::partial$manual/dependencies-log4j-async-logger.adoc[]
 
 [#configuration]
 == Configuration
diff --git 
a/src/site/antora/modules/ROOT/partials/manual/dependencies-log4j-async-logger.adoc
 
b/src/site/antora/modules/ROOT/partials/manual/dependencies-log4j-async-logger.adoc
new file mode 100644
index 0000000000..632e9eac0c
--- /dev/null
+++ 
b/src/site/antora/modules/ROOT/partials/manual/dependencies-log4j-async-logger.adoc
@@ -0,0 +1,38 @@
+////
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+         http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+////
+
+[tabs]
+====
+Maven::
++
+[source,xml,subs="+attributes"]
+----
+<dependency>
+  <groupId>com.lmax</groupId>
+  <artifactId>disruptor</artifactId>
+  <version>{disruptor-version}</version>
+  <scope>runtime</scope>
+</dependency>
+----
+
+Gradle::
++
+[source,groovy,subs="+attributes"]
+----
+runtimeOnly 'com.lmax:disruptor:{disruptor-version}'
+----
+====

Reply via email to