tet123/documentation/modules/ROOT/partials/assemblies/logging/as_configuring-logging.adoc
Alexander Schwartz 13dbc1f31c DBZ-1944 moving files that are used only in includes to partials
... so that Antora doesn't create a separate page for them that would be meaningless or confusing to users or search engines
2020-04-09 08:29:46 +02:00

20 lines
778 B
Plaintext

[id="configuring-logging"]
= Configuring logging
By default, {prodname} connectors write all `INFO`, `WARN`, and `ERROR` messages to the console.
However, you can change this configuration in the following ways:
* xref:changing-logging-level[Change the logging level]
* xref:adding-mapped-diagnostic-contexts[Add mapped diagnostic contexts]
[NOTE]
====
This section only covers a couple methods you can use to configure {prodname} logging with Log4j.
For more information about using Log4j,
search for tutorials to set up and use appenders to send log messages to specific destinations.
====
include::{partialsdir}/modules/logging/p_changing-logging-level.adoc[leveloffset=+1]
include::{partialsdir}/modules/logging/p_adding-mapped-diagnostic-contexts.adoc[leveloffset=+1]