You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ppkarwasz (via GitHub)" <gi...@apache.org> on 2025/01/27 11:14:46 UTC
[I] Improve error message if Log4j API implementation missing (logging-log4j2)
ppkarwasz opened a new issue, #3415:
URL: https://github.com/apache/logging-log4j2/issues/3415
As showed by [this SO question](https://stackoverflow.com/q/79389054/11748454) users might be quite surprised by the error message printed, when no Log4j API implementation is present (or enabled) on the classpath.
The message should probably be similar to the one printed by SLF4J:
```
SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.
```
and point to our [Installation instructions](https://logging.apache.org/log4j/2.x/manual/installation.html#impl).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Improve error message if Log4j API implementation missing [logging-log4j2]
Posted by "ramanathan1504 (via GitHub)" <gi...@apache.org>.
ramanathan1504 closed issue #3415: Improve error message if Log4j API implementation missing
URL: https://github.com/apache/logging-log4j2/issues/3415
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org