|
16 | 16 | ////
|
17 | 17 |
|
18 | 18 | = Download
|
| 19 | +:dist-url: https://downloads.apache.org/logging/log4j/{log4j-core-version} |
19 | 20 |
|
20 |
| -You can manually download all published Log4j distributions, verify them, and see their licensing information by following the instructions in {logging-services-url}/download.html[the Download page] of {logging-services-url}[Logging Services]. |
| 21 | +Apache Log4j is distributed under the |
| 22 | +https://www.apache.org/licenses/LICENSE-2.0[Apache License, version 2.0]. |
| 23 | +You can find the download links of the official <<source-distribution,source>> and <<binary-distribution,binary distributions>> below. |
21 | 24 |
|
22 |
| -* Are you looking for **the Log4j installation instructions**? Proceed to xref:manual/installation.adoc[]. |
23 |
| -* Are you looking for the list of changes associated with a particular release? Proceed to xref:release-notes.adoc[]. |
| 25 | +See also the {logging-services-url}/download.html[Logging Services download page] for instruction on how to validate the downloaded files. |
| 26 | +
|
| 27 | +[TIP] |
| 28 | +==== |
| 29 | +* Are you looking for **the Log4j installation instructions**? |
| 30 | +Proceed to xref:manual/installation.adoc[]. |
| 31 | +* Are you looking for the list of changes associated with a particular release? |
| 32 | +Proceed to xref:release-notes.adoc[]. |
| 33 | +==== |
| 34 | +
|
| 35 | +[#source-distribution] |
| 36 | +== Source distribution |
| 37 | +
|
| 38 | +You can download the source code of the latest Apache Log4j release using the links below: |
| 39 | +
|
| 40 | +.Source distribution files |
| 41 | +[cols="2h,5"] |
| 42 | +|=== |
| 43 | +
|
| 44 | +| Source distribution archive |
| 45 | +| {dist-url}/apache-log4j-{log4j-core-version}-src.zip[apache-log4j-{log4j-core-version}-src.zip] |
| 46 | +
|
| 47 | +| Checksum |
| 48 | +| {dist-url}/apache-log4j-{log4j-core-version}-src.zip.sha256[apache-log4j-{log4j-core-version}-src.zip.sha256] |
| 49 | +
|
| 50 | +| Signature |
| 51 | +| {dist-url}/apache-log4j-{log4j-core-version}-src.zip.asc[apache-log4j-{log4j-core-version}-src.zip.asc] |
| 52 | +
|
| 53 | +| PGP keys |
| 54 | +| https://downloads.apache.org/logging/KEYS[KEYS] |
| 55 | +|=== |
| 56 | +
|
| 57 | +[#binary-distribution] |
| 58 | +== Binary distribution |
| 59 | +
|
| 60 | +A set of binaries of Apache Log4j is available through two main distribution channels: |
| 61 | +
|
| 62 | +ASF Nexus Repository:: |
| 63 | ++ |
| 64 | +All the binary artifacts are available on the Apache Software Foundation |
| 65 | +https://repository.apache.org/content/repositories/releases/[`repository.apache.org` Nexus repository]. |
| 66 | +Its content is mirrored to the |
| 67 | +https://repo.maven.apache.org/maven2[Maven Central repository]. |
| 68 | ++ |
| 69 | +See xref:components.adoc[] for more information on the GAV coordinates of the artifacts. |
| 70 | +
|
| 71 | +Binary distribution archive:: |
| 72 | ++ |
| 73 | +All the artifacts in the ASF Nexus repository are also available in a single ZIP archive: |
| 74 | ++ |
| 75 | +.Binary distribution files |
| 76 | +[cols="2h,5"] |
| 77 | +|=== |
| 78 | +
|
| 79 | +| Source distribution archive |
| 80 | +| {dist-url}/apache-log4j-{log4j-core-version}-bin.zip[apache-log4j-{log4j-core-version}-bin.zip] |
| 81 | +
|
| 82 | +| Checksum |
| 83 | +| {dist-url}/apache-log4j-{log4j-core-version}-bin.zip.sha256[apache-log4j-{log4j-core-version}-src.bin.sha256] |
| 84 | +
|
| 85 | +| Signature |
| 86 | +| {dist-url}/apache-log4j-{log4j-core-version}-bin.zip.asc[apache-log4j-{log4j-core-version}-src.bin.asc] |
| 87 | +
|
| 88 | +| PGP keys |
| 89 | +| https://downloads.apache.org/logging/KEYS[KEYS] |
| 90 | +|=== |
| 91 | +
|
| 92 | +[NOTE] |
| 93 | +==== |
| 94 | +The authenticity of the Apache Log4j binary release is independently verified by the |
| 95 | +https://github.com/jvm-repo-rebuild/reproducible-central[Reproducible Builds for Maven Central Repository] |
| 96 | +project. |
| 97 | +You can check the reproducibility status of the artifacts on their |
| 98 | +https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/org/apache/logging/log4j/log4j/README.md[`org.apache.logging.log4j:log4j` RB check] page. |
| 99 | +==== |
| 100 | +
|
| 101 | +[#sbom] |
| 102 | +== Software Bill of Materials (SBOM) |
| 103 | +
|
| 104 | +Each Apache Log4j artifact is accompanied by a Software Bill of Materials in |
| 105 | +https://cyclonedx.org/[CycloneDX format]. |
| 106 | +The SBOMs are published to the ASF Nexus repository with `cyclonedx` as classifier and `xml` as type and are also available in the binary distribution archive. |
| 107 | +
|
| 108 | +See also {logging-services-url}/download.html#sbom[Apache Logging Services SBOMs]. |
| 109 | +
|
| 110 | +[IMPORTANT] |
| 111 | +==== |
| 112 | +Since Apache Log4j is a software library, the contents of the SBOMs constitute only a **suggested** list of component versions known to work with Apache Log4j. |
| 113 | +These versions are used by our unit tests. |
| 114 | +
|
| 115 | +The **effective** list of components included in an application containing Apache Log4j can only be determined by the producer of the application. |
| 116 | +==== |
24 | 117 |
|
25 | 118 | [#older]
|
26 | 119 | == Older releases
|
27 | 120 |
|
28 | 121 | Are you looking for old versions of Log4j?
|
29 |
| -While we recommend to always use the latest version, you can find the older versions here: |
| 122 | +While we recommend always using the latest version, you can find the older versions here: |
30 | 123 |
|
31 | 124 | * {logging-services-url}/log4j/1.x/index.html[Log4j 1.x (End of Life, Java 1.4)]
|
32 | 125 | * {logging-services-url}/log4j/2.3.x/index.html[Log4j 2.3.x (Java 6)]
|
|
0 commit comments