You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rp...@apache.org on 2021/12/25 04:04:16 UTC
[logging-log4j2] branch release-2.x updated: [DOC] Add images to migration page
This is an automated email from the ASF dual-hosted git repository.
rpopma 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 00de3eb [DOC] Add images to migration page
00de3eb is described below
commit 00de3ebfe17ab3868985793f9c6a107808236dfc
Author: rpopma <rp...@apache.org>
AuthorDate: Sat Dec 25 13:04:03 2021 +0900
[DOC] Add images to migration page
---
.../resources/images/whichjar-log4j-1.2-api.png | Bin 0 -> 24992 bytes
src/site/resources/images/whichjar-log4j-api.png | Bin 0 -> 16515 bytes
src/site/resources/images/whichjar.xlsx | Bin 14681 -> 21234 bytes
src/site/xdoc/manual/migration.xml | 2 ++
4 files changed, 2 insertions(+)
diff --git a/src/site/resources/images/whichjar-log4j-1.2-api.png b/src/site/resources/images/whichjar-log4j-1.2-api.png
new file mode 100644
index 0000000..8b54810
Binary files /dev/null and b/src/site/resources/images/whichjar-log4j-1.2-api.png differ
diff --git a/src/site/resources/images/whichjar-log4j-api.png b/src/site/resources/images/whichjar-log4j-api.png
new file mode 100644
index 0000000..194196a
Binary files /dev/null and b/src/site/resources/images/whichjar-log4j-api.png differ
diff --git a/src/site/resources/images/whichjar.xlsx b/src/site/resources/images/whichjar.xlsx
index 6847bca..8d042a1 100644
Binary files a/src/site/resources/images/whichjar.xlsx and b/src/site/resources/images/whichjar.xlsx differ
diff --git a/src/site/xdoc/manual/migration.xml b/src/site/xdoc/manual/migration.xml
index b588e10..e976a76 100644
--- a/src/site/xdoc/manual/migration.xml
+++ b/src/site/xdoc/manual/migration.xml
@@ -53,6 +53,7 @@
the Log4j 2 implementation jar (<code>log4j-core.jar</code>) and
the Log4j 1.x bridge jar (<code>log4j-1.2-api.jar</code>).
</p>
+ <p><img src="../images/whichjar-log4j-1.2-api.png" alt="Using log4j 2 via the log4j 1.x API" /></p>
<p>
For most applications this is sufficient.
This is a low-effort way to migrate, and may also allow for migration to proceed gradually over time.
@@ -97,6 +98,7 @@
<p>For the most part, converting from the Log4j 1.x API to Log4j 2 should be fairly simple. Many
of the log statements will require no modification. However, where necessary the following changes must be
made.</p>
+ <p><img src="../images/whichjar-log4j-api.png" alt="Using log4j 2 via the log4j 2.x API" /></p>
<table width="100%">
<tr>
<th>Log4j 1.x</th>