Skip to content

Commit

Permalink
Fix async context selector documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ppkarwasz committed Dec 21, 2024
1 parent 03e289d commit 3bf0038
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/site/antora/modules/ROOT/pages/manual/async.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ This is the simplest to configure and gives the best performance: to make all lo
xref:manual/systemproperties.adoc#log4j.loggerContext.selector[`log4j.loggerContext.selector`]
property to one of the asynchronous logger context selectors:
link:../javadoc/log4j-async-logger/org/apache/logging/log4j/async/logger/BasicAsyncLoggerContextSelector.html[`org.apache.logging.log4j.core.async.BasicAsyncLoggerContextSelector`]::
link:../javadoc/log4j-async-logger/org/apache/logging/log4j/async/logger/BasicAsyncLoggerContextSelector.html[`org.apache.logging.log4j.async.logger.BasicAsyncLoggerContextSelector`]::
This will create a single logger context and disruptor for all the classes in the JVM,
link:../javadoc/log4j-async-logger/org/apache/logging/log4j/async/logger/AsyncLoggerContextSelector.html[`org.apache.logging.log4j.core.async.AsyncLoggerContextSelector`]::
link:../javadoc/log4j-async-logger/org/apache/logging/log4j/async/logger/AsyncLoggerContextSelector.html[`org.apache.logging.log4j.async.logger.AsyncLoggerContextSelector`]::
This will create a different logger context and disruptor for each classloader in the JVM.
[IMPORTANT]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,18 @@ implementation to use.
The implementations available by default are:
link:../javadoc/log4j-core/org/apache/logging/log4j/core/selector/BasicContextSelector.html[`org.apache.logging.log4j.core.selector.BasicContextSelector`]::
Creates a single logger context and synchronous loggers
Creates a single logger context and synchronous loggers.
link:../javadoc/log4j-async-logger/org/apache/logging/log4j/async/logger/BasicAsyncLoggerContextSelector.html[`org.apache.logging.log4j.core.async.BasicAsyncLoggerContextSelector`]::
Creates a single logger context and xref:manual/async.adoc[asynchronous loggers]
link:../javadoc/log4j-async-logger/org/apache/logging/log4j/async/logger/BasicAsyncLoggerContextSelector.html[`org.apache.logging.log4j.async.logger.BasicAsyncLoggerContextSelector`]::
Creates a single logger context and xref:manual/async.adoc[asynchronous loggers].
link:../javadoc/log4j-core/org/apache/logging/log4j/core/selector/ClassLoaderContextSelector.html[`org.apache.logging.log4j.core.selector.ClassLoaderContextSelector`]::
Creates a separate logger context per classloader and synchronous loggers
Creates a separate logger context per classloader and synchronous loggers.
link:../javadoc/log4j-async-logger/org/apache/logging/log4j/async/logger/AsyncLoggerContextSelector.html[`org.apache.logging.log4j.core.async.AsyncLoggerContextSelector`]::
Creates a separate logger context per classloader and xref:manual/async.adoc[asynchronous loggers]
link:../javadoc/log4j-async-logger/org/apache/logging/log4j/async/logger/AsyncLoggerContextSelector.html[`org.apache.logging.log4j.async.logger.AsyncLoggerContextSelector`]::
Creates a separate logger context per classloader and xref:manual/async.adoc[asynchronous loggers].
link:../javadoc/log4j-core/org/apache/logging/log4j/core/osgi/BundleContextSelector.html[`org.apache.logging.log4j.core.osgi.BundleContextSelector`]::
Creates a separate logger context per OSGi bundle and synchronous loggers
org.apache.logging.log4j.jndi.selector.JndiContextSelector::
`org.apache.logging.log4j.jndi.selector.JndiContextSelector`::
Creates loggers contexts based on a JNDI lookup and synchronous loggers.
See
{logging-services-url}/log4j/jakarta/log4j-jakarta-web.html#jndi[Web application]
Expand Down

0 comments on commit 3bf0038

Please sign in to comment.