You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Mikael Ståldal (JIRA)" <ji...@apache.org> on 2018/01/03 11:20:04 UTC
[jira] [Created] (LOG4J2-2172) Provide lightweight alternative
implementations: log4j-simple and log4j-nop
Mikael Ståldal created LOG4J2-2172:
--------------------------------------
Summary: Provide lightweight alternative implementations: log4j-simple and log4j-nop
Key: LOG4J2-2172
URL: https://issues.apache.org/jira/browse/LOG4J2-2172
Project: Log4j 2
Issue Type: New Feature
Affects Versions: 2.10.0
Reporter: Mikael Ståldal
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|https://logging.apache.org/log4j/2.x/log4j-api/apidocs/org/apache/logging/log4j/simple/SimpleLogger.html] 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.)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)