[2.4.3-Java] No appenders could be found for logger

194 views
Skip to first unread message

Slim Slam

unread,
Sep 14, 2015, 3:17:39 PM9/14/15
to play-framework

I have explicitly excluded the one library in my build.sbt file that was trying to use log4j:

"mylib" % "mylib" % "3.11.2" exclude("org.slf4j", "slf4j-log4j12") force()

However, when I run my Play app, I still see this message:

log4j:WARN No appenders could be found for logger (org.jboss.logging).
log4j
:WARN Please initialize the log4j system properly.
log4j
:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

Could this be a lib that I'm including in the "lib" folder (and not via build.sbt)?  Or is there
some other explanation?

J

Naftoli Gugenheim

unread,
Sep 16, 2015, 9:36:35 PM9/16/15
to play-framework

You mean as an unmanaged dependency in <project>/lib? Why don't you check?


--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/28a4b1e0-98c2-4ffd-871e-c4e497070926%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages