Skip to content

Commit ebf0f04

Browse files
committed
Improve lo4j-features.adoc as requested here[1]
[1] #2581 (comment)
1 parent 1bb91cc commit ebf0f04

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

src/site/antora/modules/ROOT/partials/log4j-features.adoc

+11-12
Original file line numberDiff line numberDiff line change
@@ -22,26 +22,25 @@ Log4j bundles a rich set of components to assist various use cases.
2222
* xref:manual/filters.adoc[Filters] based on log event rates, regular expressions, scripts, time, etc.
2323
* xref:manual/lookups.adoc[Lookups] for accessing system properties, environment variables, log event fields, etc.
2424
25-
API separation::
26-
The API for Log4j (i.e., `log4j-api`) is separate from the implementation (i.e., `log4j-core`), making it straightforward for application developers which classes and methods to use while ensuring forward compatibility.
27-
(See xref:manual/api-separation.adoc[API Separation] for details.)
28-
The Log4j API also provides the most feature-rich logging facade in the market; support for various `Message` types (such as `Object` or `Map`) besides plain `String`, lambda expressions, parametrized logging, markers, levels, diagnostic contexts (aka. MDC/NDC), etc.
29-
Check out the xref:manual/api.adoc[Java API], {logging-services-url}/log4j/kotlin[Kotlin API], and {logging-services-url}/log4j/scala[Scala API] pages for further information.
30-
31-
No vendor lock-in::
32-
Even though Log4j implements the Log4j API at its fullest, users can use another logging backend.
33-
This can be achieved by either using another backend implementing the Log4j API or forwarding Log4j API calls to another logging facade (e.g., SLF4J) and using a backend for that particular facade.
34-
3525
Reliability::
3626
Log4j is built with solid reliability in mind.
3727
It can automatically reload its configuration upon modification and will do so without losing log events while reconfiguration occurs.
3828
3929
Performance::
4030
When configured correctly, Log4j can deliver excelling performance without almost any burden on the Java garbage collector, and it will do so without sacrificing reliability.
41-
This is made possible via an asynchronous logger founded on the https://lmax-exchange.github.io/disruptor/[LMAX Disruptor] technology (having its roots in the demanding industry of financial trading) and the garbage-free features baked at hot paths.
4231
Check out the xref:manual/performance.adoc[Performance] page for details.
4332
4433
Extensibility::
4534
Log4j contains a fully-fledged xref:manual/plugins.adoc[plugin support] that users can leverage to extend functionality.
46-
You can easily add your components (layouts, appenders, filters, etc.) or customize existing ones (e.g., adding new directives to the xref:manual/layouts.adoc#PatternLayout[Pattern] or xref:manual/json-template-layout.adoc#extending[JSON Template Layout]).
35+
You can easily add your components (layouts, appenders, filters, etc.) or customize existing ones (e.g., adding new directives to xref:manual/extending.adoc#PatternConverters[Pattern Layout] or xref:manual/json-template-layout.adoc#extending[JSON Template Layout]).
4736
Check out the xref:manual/extending.adoc[Extending Log4j] page.
37+
38+
Powerful API::
39+
Log4j is a logging system where the API (called Log4j API) and its implementation (called Log4j Core) is distinctly separate from each other.
40+
xref:manual/api.adoc[Log4j API] provides the most feature-rich logging facade in the market; support for various `Message` types (such as `Object` or `Map`) besides plain `String`, lambda expressions, parameterized logging, markers, levels, diagnostic contexts (aka. MDC/NDC), etc.
41+
Log4j team takes backward compatibility very seriously and makes sure people relying on Log4j API gets a logging facade that is straightforward to use in a correct and future-proof way.
42+
Check out the xref:manual/api.adoc[Java API], {logging-services-url}/log4j/kotlin[Kotlin API], and {logging-services-url}/log4j/scala[Scala API] pages for further information.
43+
44+
No vendor lock-in::
45+
Log4j API is a generic logging facade for various logging frameworks.
46+
While Log4j Core implements it at its fullest, you can easily switch to other implementations such as Logback or JUL (`java.util.logging`).

0 commit comments

Comments
 (0)