Skip to content

Commit fe4e209

Browse files
committed
Fix additional links
1 parent de5a478 commit fe4e209

File tree

9 files changed

+15
-13
lines changed

9 files changed

+15
-13
lines changed

log4j-core/src/main/java/org/apache/logging/log4j/core/appender/MemoryMappedFileManager.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@
4747
* http://www.codeproject.com/Tips/683614/Things-to-Know-about-Memory-Mapped-File-in-Java</a>
4848
* @see <a href="https://bugs.openjdk.org/browse/JDK-6893654">JDK-6893654</a>
4949
* @see <a href="https://bugs.openjdk.org/browse/JDK-4724038">JDK-4724038</a>
50-
* @see <a
51-
* href="http://stackoverflow.com/questions/9261316/memory-mapped-mappedbytebuffer-or-direct-bytebuffer-for-db-implementation">
52-
* http://stackoverflow.com/questions/9261316/memory-mapped-mappedbytebuffer-or-direct-bytebuffer-for-db-implementation</a>
50+
* @see <a href="https://stackoverflow.com/q/9261316/11748454">Memory-Mapped MappedByteBuffer or Direct ByteBuffer for DB Implementation?</a>
5351
*
5452
* @since 2.1
5553
*/

src/changelog/2.10.0/.release-notes.adoc.ftl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ Those errors should be reported to the tool vendor.
5656
During testing of the release it was found that one unit test fails when run on Windows.
5757
When building from source either use `mvn clean install -DskipTests` on Windows or run the build on a different operating system.
5858
The unit test failure is a problem in the test, not in Log4j.
59-
As always, pre-built distributions can be downloaded from http://www.apache.org/dist/logging/log4j/[] or the binaries JARs may be obtained from the Maven central repository.
59+
As always, pre-built distributions can be downloaded from
60+
https://downloads.apache.org/logging/log4j/[]
61+
or the binaries JARs may be obtained from the Maven central repository.
6062

6163
Note that subsequent to the 2.9.0 release, for security reasons, `SerializedLayout` is deprecated and no longer used as default in the Socket and JMS appenders.
6264
`SerializedLayout` can still be used as before, but has to be specified explicitly.

src/changelog/2.22.0/.release-notes.adoc.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<#if release.date?has_content>Release date:: ${release.date}</#if>
2222

2323
:cyclonedx-sbom-link: https://cyclonedx.org/capabilities/sbom/[CycloneDX Software Bill of Materials (SBOM)]
24-
:cyclonedx-vdr-link: https://cyclonedx.org/capabilities/vdr[CycloneDX Vulnerability Disclosure Report (VDR)]
24+
:cyclonedx-vdr-link: https://cyclonedx.org/capabilities/vdr/[CycloneDX Vulnerability Disclosure Report (VDR)]
2525

2626
This releases provides a {cyclonedx-sbom-link} along with each artifact and contains bug fixes addressing issues in the JPMS & OSGi infrastructure overhauled in `2.21.0`, dependency updates, and some other minor fixes and improvements.
2727

src/site/antora/modules/ROOT/pages/log4j-docker.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Licensed to the Apache Software Foundation (ASF) under one or more
1717
1818
= Log4j Docker
1919
20-
Log4j Docker module offers https://docker.com[Docker]-specific utilities.
20+
Log4j Docker module offers https://www.docker.com/[Docker]-specific utilities.
2121
2222
[#install]
2323
== Installation

src/site/antora/modules/ROOT/pages/manual/appenders.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,8 @@ maximum capacity.
292292
[#CassandraAppender]
293293
=== CassandraAppender
294294
295-
The CassandraAppender writes its output to an https://cassandra.apache.org/[Apache Cassandra]
295+
The CassandraAppender writes its output to an
296+
https://cassandra.apache.org/_/index.html[Apache Cassandra]
296297
database.
297298
A keyspace and table must be configured ahead of time, and the columns of that table are mapped in a configuration file.
298299
Each column can specify either a xref:manual/pattern-layout.adoc[]https://logging.apache.org/log4j/2.x/manual/layouts.html#PatternLayout[StringLayout] (e.g., a PatternLayout) along with an optional conversion type, or only a conversion type for `org.apache.logging.log4j.spi.ThreadContextMap` or
@@ -2171,7 +2172,7 @@ http://mongodb.github.io/mongo-java-driver/4.0/apidocs/mongodb-driver-core/com/m
21712172
in the format `mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database.collection][?options]]`.
21722173
21732174
|capped |boolean |Enable support for
2174-
https://docs.mongodb.com/manual/core/capped-collections/[capped
2175+
https://www.mongodb.com/docs/manual/core/capped-collections/[capped
21752176
collections]
21762177
21772178
|collectionSize |long |Specify the size in bytes of the capped collection
@@ -4362,7 +4363,7 @@ If not specified, the default system Charset will be used.
43624363
default is 0 (infinite timeout, like `Socket.connect()` methods).
43634364
43644365
|enterpriseNumber |integer |The IANA enterprise number as described in
4365-
http://tools.ietf.org/html/rfc5424#section-7.2.2[RFC 5424]
4366+
https://datatracker.ietf.org/doc/html/rfc5424#section-7.2.2[RFC 5424]
43664367
43674368
|filter |Filter |A Filter to determine if the event should be handled by
43684369
this Appender. More than one Filter may be used by using a

src/site/antora/modules/ROOT/pages/manual/installation.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
////
1717
1818
:jpl-link: https://openjdk.org/jeps/264[JPL (Java Platform Logging)]
19-
:jul-link: https://docs.oracle.com/en/java/javase/{java-target-version}/core/java-logging-overview.html[JUL (Java Logging)]
19+
:jul-link: https://docs.oracle.com/javase/{java-target-version}/docs/technotes/guides/logging/overview.html[JUL (Java Logging)]
2020
2121
= Installation
2222

src/site/antora/modules/ROOT/pages/manual/json-template-layout.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ The **default event template** modelling https://www.elastic.co/guide/en/ecs/cur
471471
Models https://github.com/logstash/log4j-jsonevent-layout[Logstash `json_event` pattern for Log4j]
472472
473473
{project-github-url}/tree/2.x/log4j-layout-template-json/src/main/resources/GelfLayout.json[`GelfLayout.json`]::
474-
Models https://docs.graylog.org/en/3.1/pages/gelf.html#gelf-payload-specification[the Graylog Extended Log Format (GELF) payload specification] with additional `_thread` and `_logger` fields.
474+
Models https://go2docs.graylog.org/current/getting_in_log_data/gelf.html#GELFPayloadSpecification[the Graylog Extended Log Format (GELF) payload specification] with additional `_thread` and `_logger` fields.
475475
+
476476
[TIP]
477477
====

src/site/antora/modules/ROOT/pages/soa.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ For example, https://12factor.net/logs[The Twelve-Factor App] and https://kubern
8181
8282
* A *library* can act as proxy.
8383
It can tap into the logging API and forward it to an external service.
84-
For instance, https://docs.datadoghq.com/logs/log_collection/java[Datadog's Java Log Collector] uses this mechanism.
84+
For instance,
85+
https://docs.datadoghq.com/logs/log_collection/java/?tab=log4j2[Datadog's Java Log Collector] uses this mechanism.
8586
8687
* An external *service* can act as a proxy, which applications can write logs to.
8788
For example, you can write to https://www.elastic.co/logstash[Logstash], a https://kubernetes.io/docs/concepts/cluster-administration/logging/#sidecar-container-with-a-logging-agent[Kubernetes logging agent sidecar], or a https://redis.io/glossary/redis-queue/[Redis queue] over a socket.

src/site/antora/modules/ROOT/partials/concepts.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
2525
:jcl-link: https://commons.apache.org/proper/commons-logging/[JCL (Apache Commons Logging)]
2626
:jpl-link: https://openjdk.org/jeps/264[JPL (Java Platform Logging)]
27-
:jul-link: https://docs.oracle.com/en/java/javase/{java-target-version}/core/java-logging-overview.html[JUL (Java Logging)]
27+
:jul-link: https://docs.oracle.com/javase/{java-target-version}/docs/technotes/guides/logging/overview.html[JUL (Java Logging)]
2828
:jboss-logging-link: https://github.com/jboss-logging/jboss-logging[JBoss Logging]
2929
3030
// end::inc[]

0 commit comments

Comments
 (0)