Skip to content

Commit a1c62db

Browse files
committed
Rename certain Resources pages in the site
1 parent b7fab2d commit a1c62db

File tree

15 files changed

+20
-17
lines changed

15 files changed

+20
-17
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@
6262
6363
.Resources
6464
* xref:faq.adoc[F.A.Q.]
65-
* xref:manual/migration.adoc[]
65+
* xref:migrate-from-log4j1.adoc[]
6666
* xref:migrate-from-logback.adoc[]
6767
* xref:migrate-from-slf4j.adoc[]
6868
* xref:hibernate.adoc[]
69-
* xref:manual/webapp.adoc[]
70-
* xref:manual/cloud.adoc[]
69+
* xref:jakarta.adoc[]
70+
* xref:soa.adoc[]
7171
* xref:development.adoc[]
7272
7373
.Components
@@ -82,7 +82,6 @@
8282
* xref:log4j-jul.adoc[]
8383
* xref:log4j-to-jul.adoc[]
8484
85-
8685
.Related projects
8786
* {logging-services-url}/log4j/jakarta[Log4j Jakarta EE]
8887
* {logging-services-url}/log4j/jmx-gui[Log4j JMX GUI]

src/site/antora/modules/ROOT/pages/_log4j1-eol.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
====
2020
http://logging.apache.org/log4j/1.x[Log4j 1] has https://blogs.apache.org/foundation/entry/apache_logging_services_project_announces[reached End of Life] in 2015, and is no longer supported.
2121
Vulnerabilities reported after August 2015 against Log4j 1 are not checked and will not be fixed.
22-
Users should xref:manual/migration.adoc[upgrade to Log4j 2] to obtain security fixes.
22+
Users should xref:migrate-from-log4j1.adoc[upgrade to Log4j 2] to obtain security fixes.
2323
====

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ You can also specify the full path of the configuration file using a system prop
3737
That property can also be included in a classpath resource file named `log4j2.component.properties`.
3838
3939
Web applications can specify the Log4j configuration file location with a servlet context parameter.
40-
See xref:manual/webapp.adoc#ContextParams[the related page on web applications].
40+
See xref:jakarta.adoc#ContextParams[the related page on web applications].
4141
4242
Refer to xref:manual/configuration.adoc[the Configuration page] for further details.
4343
@@ -65,7 +65,7 @@ Configurator.reconfigure(configSourceUri);
6565
6666
Normally there is no need to do this manually.
6767
Each `LoggerContext` registers a shutdown hook that takes care of releasing resources when the JVM exits, unless the `log4j.shutdownHookEnabled` system property is set to `false`.
68-
Likewise, xref:manual/webapp.adoc[Web applications] replace the shutdown hook with their own resource management mechanisms.
68+
Likewise, xref:jakarta.adoc[Web applications] replace the shutdown hook with their own resource management mechanisms.
6969
That is, they clean up necessary resources when the web application is stopped.
7070
However, if you need to manually shut down Log4j, you can use one of the `shutdown()` methods of link:../javadoc/log4j-api/org/apache/logging/log4j/LogManager.html#shutdown()[`LogManager`].
7171

src/site/antora/modules/ROOT/pages/manual/webapp.adoc renamed to src/site/antora/modules/ROOT/pages/jakarta.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
limitations under the License.
1616
////
1717
[#jakarta-ee]
18-
= Using Log4j in a Jakarta EE environment
18+
= Integrating with Jakarta EE
19+
1920
:jetty-latest-url: https://jetty.org/docs/jetty/12
2021
:tomcat-latest-url: https://tomcat.apache.org/tomcat-11.0-doc
2122
:wildfly-latest-url: https://docs.wildfly.org/32

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3858,7 +3858,7 @@ Additional runtime dependencies are required for using the servlet appender:
38583858
38593859
include::partial$manual/dependencies-log4j-jakarta-web.adoc[]
38603860
3861-
See xref:manual/webapp.adoc[] for more information.
3861+
See xref:jakarta.adoc[] for more information.
38623862
38633863
[CAUTION]
38643864
====

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ Licensed to the Apache Software Foundation (ASF) under one or more
1919
2020
== Compatibility with Log4j 1
2121
22-
See the xref:manual/migration.adoc#Log4j12Bridge[Log4j 1.x bridge (log4j-1.2-api)] section of the Log4j 1.x Migration page.
22+
See the xref:migrate-from-log4j1.adoc#Log4j12Bridge[Log4j 1.x bridge (log4j-1.2-api)] section of the Log4j 1.x Migration page.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ A name derived from the runtime environment:
4242
+
4343
* For standalone Java SE applications, it is a random identifier.
4444
* For web applications, it is an identifier derived from the application descriptor.
45-
See xref:manual/webapp.adoc#configuration[Log4j Web application configuration] for details.
45+
See xref:jakarta.adoc#configuration[Log4j Web application configuration] for details.
4646
4747
<extension>::
4848
A file extension supported by a `ConfigurationFactory`.
@@ -100,7 +100,7 @@ Starting with Log4j 2, the configuration file syntax has been considered part of
100100
====
101101
The syntax of the configuration file changed between Log4j{nbsp}1 and Log4j{nbsp}2.
102102
Files in the Log4j{nbsp}1 syntax are ignored by default.
103-
To enable partial support for old configuration syntax, see xref:manual/migration.adoc#ConfigurationCompatibility[configuration compatibility].
103+
To enable partial support for old configuration syntax, see xref:migrate-from-log4j1.adoc#ConfigurationCompatibility[configuration compatibility].
104104
====
105105
106106
The Log4j runtime is composed of xref:manual/plugins.adoc[plugins], which are like beans in the Spring Framework and Java EE.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ include::partial$log4j-features.adoc[]
6262
* xref:manual/configuration.adoc[How can I configure Log4j?]
6363
* xref:manual/api.adoc[How can I use Log4j API?]
6464
* xref:manual/performance.adoc[How can I tune my Log4j setup for performance?]
65-
* xref:manual/migration.adoc[How can I migrate from Log4j 1 to Log4j 2]?
65+
* xref:migrate-from-log4j1.adoc[How can I migrate from Log4j 1 to Log4j 2]?
6666
* xref:manual/plugins.adoc[What are Log4j plugins] and xref:manual/extending.adoc[how can I use them to extend Log4j?]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ create a single LoggerContext using a single configuration that will be
9999
shared across all applications.
100100
2. Place the logging jars in the container's classpath and use the
101101
default ClassLoaderContextSelector.
102-
See the instructions shared in xref:manual/webapp.adoc[Log4j Web].
102+
See the instructions shared in xref:jakarta.adoc[Log4j Web].
103103
Each application can be configured to share the same
104104
configuration used at the container or can be individually configured.
105105
If xref:manual/status-logger.adoc[status logging] is set to debug in the configuration there will be

src/site/antora/modules/ROOT/pages/manual/migration.adoc renamed to src/site/antora/modules/ROOT/pages/migrate-from-log4j1.adoc

File renamed without changes.

0 commit comments

Comments
 (0)