Skip to content

Commit 205f617

Browse files
committed
Improve navigation
1 parent 234ac80 commit 205f617

File tree

9 files changed

+30
-31
lines changed

9 files changed

+30
-31
lines changed

src/site/antora/modules/ROOT/nav.adoc

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -57,24 +57,24 @@
5757
* xref:faq.adoc[F.A.Q.]
5858
5959
.Components
60-
* Internal components
61-
** xref:log4j-api.adoc[]
62-
** xref:log4j-1.2-api.adoc[]
63-
** xref:log4j-slf4j-impl.adoc[]
64-
** xref:log4j-jul.adoc[]
65-
** xref:log4j-jpl.adoc[]
66-
** xref:log4j-to-slf4j.adoc[]
67-
** xref:log4j-flume-ng.adoc[]
68-
** xref:log4j-mongodb3.adoc[]
69-
** xref:log4j-mongodb4.adoc[]
70-
** xref:log4j-iostreams.adoc[]
71-
** xref:log4j-docker.adoc[]
72-
** xref:log4j-kubernetes.adoc[]
73-
** xref:log4j-spring-cloud-config-client.adoc[]
74-
* External components
75-
** link:/log4j/jakarta[Log4j Jakarta EE]
76-
** link:/log4j/jmx-gui[Log4j JMX GUI]
77-
** link:/log4j/kotlin[Log4j Kotlin]
78-
** link:/log4j/scala[Log4j Scala]
79-
** link:/log4j/tools[Log4j Tools]
80-
** link:/log4j/transform[Log4j Transformation Tools]
60+
* xref:log4j-api.adoc[]
61+
* xref:log4j-1.2-api.adoc[]
62+
* xref:log4j-slf4j-impl.adoc[]
63+
* xref:log4j-jul.adoc[]
64+
* xref:log4j-jpl.adoc[]
65+
* xref:log4j-to-slf4j.adoc[]
66+
* xref:log4j-flume-ng.adoc[]
67+
* xref:log4j-mongodb3.adoc[]
68+
* xref:log4j-mongodb4.adoc[]
69+
* xref:log4j-iostreams.adoc[]
70+
* xref:log4j-docker.adoc[]
71+
* xref:log4j-kubernetes.adoc[]
72+
* xref:log4j-spring-cloud-config-client.adoc[]
73+
74+
.Related projects
75+
* link:/log4j/jakarta[Log4j Jakarta EE]
76+
* link:/log4j/jmx-gui[Log4j JMX GUI]
77+
* link:/log4j/kotlin[Log4j Kotlin]
78+
* link:/log4j/scala[Log4j Scala]
79+
* link:/log4j/tools[Log4j Tools]
80+
* link:/log4j/transform[Log4j Transformation Tools]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Licensed to the Apache Software Foundation (ASF) under one or more
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
////
17-
= Log4j 2 API
17+
= Log4j API
1818
1919
The Log4j 2 API provides the interface that applications should code to and provides the adapter components required for implementers to create a logging implementation.
2020

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Licensed to the Apache Software Foundation (ASF) under one or more
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
////
17-
= Log4j 2 JDK Platform Logging Adapter
17+
= Log4j JDK Platform Logging Adapter
1818
1919
The Log4j 2 JDK Logging Adapter allow to route all System.Logger events to Log4j 2 APIs.
2020

src/site/antora/modules/ROOT/pages/log4j-slf4j-impl.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Licensed to the Apache Software Foundation (ASF) under one or more
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
////
17-
= Log4j 2 SLF4J Binding
17+
= Log4j SLF4J Binding
1818
1919
The Log4j 2 SLF4J Binding allows applications coded to the SLF4J API to use Log4j 2 as the implementation.
2020

src/site/antora/modules/ROOT/pages/log4j-slf4j2-impl.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Licensed to the Apache Software Foundation (ASF) under one or more
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
////
17-
= Log4j 2 SLF4J Binding
17+
= Log4j SLF4J Binding
1818
1919
The Log4j 2 SLF4J Binding allows applications coded to the SLF4J API to use Log4j 2 as the implementation.
2020

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
////
17-
= Log4j 2 API
17+
= Log4j API
1818
1919
== Overview
2020

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ Licensed to the Apache Software Foundation (ASF) under one or more
1717
1818
// NOTE: do not delete this page: external pages may be linking to it
1919
20-
== Log4j 2 Compatibility with Log4j 1
20+
== Compatibility with Log4j 1
2121
2222
See the xref:manual/migration.adoc#Log4j1.2Bridge[Log4j 1.x bridge (log4j-1.2-api)] section of the Log4j 1.x Migration page.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ simple to understand and to use.
6969
7070
== Log4j 2
7171
72-
Log4j 1.x has been widely adopted and used in many applications.
72+
Log4j 1 has been widely adopted and used in many applications.
7373
However, through the years development on it has slowed down. It has
7474
become more difficult to maintain due to its need to be compliant with
7575
very old versions of Java and became

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@
1515
limitations under the License.
1616
////
1717
18-
= Log4j 2 Web Applications
19-
18+
= Log4j Web Applications
2019
21-
== Using Log4j 2 in Web Applications
20+
== Using Log4j in Web Applications
2221
2322
You must take particular care when using Log4j or any other logging framework within a Java EE web application. It's important for logging resources to be properly cleaned up (database connections closed, files closed, etc.) when the container shuts down or the web application is undeployed. Because of the nature of class loaders within web applications, Log4j resources cannot be cleaned up through normal means. Log4j must be "started" when the web application deploys and "shut down" when the web application undeploys. How this works varies depending on whether your application is a xref:#Servlet-3-0[Servlet 3.0 or newer] or xref:#Servlet-2-5[Servlet 2.5] web application.
2423

0 commit comments

Comments
 (0)