You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log4j provides several modules to facilitate the deployment of different logging implementations:
135
135
136
+
xref:manual/simple-logger.adoc[]::
137
+
This is a fallback implementation embedded into the Log4j API artifact.
138
+
The usage of this implementation generates an error message unless you enable it explicitly.
139
+
See <<impl-simple>> for more details.
140
+
136
141
`log4j-core`::
137
142
The reference implementation.
138
143
Log4 Core primarily accepts input from Log4j API.
@@ -169,6 +174,30 @@ h| Gradle
169
174
|===
170
175
====
171
176
177
+
[#impl-simple]
178
+
=== Installing Simple Logger
179
+
180
+
The
181
+
xref:manual/simple-logger.adoc[Simple Logger]
182
+
implementation is embedded in the Log4j API and does not need any external dependency.
183
+
It is intended as a convenience for environments where either a fully-fledged logging implementation is missing, or cannot be included for other reasons.
184
+
The Log4j API will log an error to the
185
+
xref:manual/status-logger.adoc[Status Logger] to avoid its unintentional usages:
186
+
187
+
----
188
+
2024-10-03T11:53:34.281462230Z main ERROR Log4j API could not find a logging provider.
189
+
----
190
+
191
+
To remove the warning and confirm that you want to use Simple Logger, add a
0 commit comments