logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Sicker (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-1303) Please provide guidance on libraries necessary for slf4j bindings
Date Wed, 02 Mar 2016 04:32:18 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15175012#comment-15175012
] 

Matt Sicker commented on LOG4J2-1303:
-------------------------------------

Oh man that starter pom is very slf4j-specific! Legacy log4j1 will use its own configuration
if you don't use log4j-1.2-api or the equivalent slf4j bridge.

> Please provide guidance on libraries necessary for slf4j bindings
> -----------------------------------------------------------------
>
>                 Key: LOG4J2-1303
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1303
>             Project: Log4j 2
>          Issue Type: Documentation
>            Reporter: Steve Davids
>
> The documentation (http://logging.apache.org/log4j/2.x/log4j-slf4j-impl/index.html) is
minimal on the details of what dependencies you should bring in for your SLF4j to properly
work. The spring-boot-starter-log4j2 (http://central.maven.org/maven2/org/springframework/boot/spring-boot-starter-log4j2/1.3.3.RELEASE/spring-boot-starter-log4j2-1.3.3.RELEASE.pom)
provides a decent starting point of what is needed, but it doesn't include the log4j-over-slf4j
dependency for the legacy log4j 1.x which makes me wonder if some logging messages are getting
dropped?
> Your guidance would be greatly appreciated as to a typical app that would like to use
the SLF4j API + bridge support for JCL, JUL, Log4j 1.x + Log4j 2.x SLF4j implementation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message