Issue #644 Modules for logging

module for direct slf4j to log4j2 bridge
This commit is contained in:
Greg Wilkins 2016-06-23 15:32:18 +10:00
parent 501b8e9dca
commit 0239d6390f
2 changed files with 18 additions and 2 deletions

View File

@ -5,5 +5,4 @@ Requires another module that provides an log4j2 implementation.
[depend] [depend]
jetty-slf4j jetty-slf4j
slf4j-log4j slf4j-log4j2
log4j-log4j2

View File

@ -0,0 +1,17 @@
[description]
Provides a SLF4J implementation that logs to the Log4j v2 API.
Requires another module that provides a Log4j2 implementation.
To receive jetty logs enable the jetty-slf4j2 module.
[depend]
slf4j-api
log4j2-api
[provide]
slf4j-impl
[files]
maven://org.apache.logging.log4j/log4j-slf4j-impl/${log4j2.version}|lib/log4j/log4j-slf4j-impl-${log4j2.version}.jar
[lib]
lib/log4j/log4j-slf4j-impl-${log4j2.version}.jar