Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.10.0
-
None
-
None
Description
To encourage usage of Log4J 2 API as a ubiquitous logging API for Java/JVM, we should provide some lightweight alternative implementations that can be used instead of log4j-core:
- log4j-simple which uses SimpleLog without any error or warning message.
- log4j-nop which silently discard all logging.
This would be useful when libraries/frameworks use log4j-api. Then users of such libraries/frameworks who are not interested in a comprehensive logging system will have an easier time. It will also help usage on "odd" platforms like Android where log4j-core can be problematic.
(This is inspired from SLF4J.)
Attachments
Issue Links
- relates to
-
LOG4J2-1944 Should suppress message "ERROR No log4j2 configuration file found..." when programmatic API is used to config log4j.
- Open