We help IT Professionals succeed at work.

log4j:WARN No appenders could be found for logger

Hello there,

I am setting a SmartGWT application. Now when I run the application I get this message in my console.

log4j:WARN No appenders could be found for logger (org.apache.jasper.compiler.JspRuntimeContext).

Can somebody please help me to resolv ethis issue. I have also included the screenshot of my project structure in eclipse.

1
cheers
Zolf
Comment
Watch Question

Top Expert 2016

Commented:
The file highlighted in green - it seems to have a cross in its icon. Is it actually present?
IT Business Systems Analyst / Software Developer
Top Expert 2015
Commented:
@CEHJ,

That is just the icon Eclipse uses for an XML file.


@Zolf,

log4j.isc.config.xml is not a standard name that Log4J would look for. Are you setting the appropriate system property (-Dlog4j.configuration=log4j.isc.config.xml) ? Or can you try renaming this file to the standard, log4j.xml, and seeing if that resolves your issue?

Author

Commented:
cheers
mccarlIT Business Systems Analyst / Software Developer
Top Expert 2015

Commented:
You're welcome :)
Top Expert 2016

Commented:
I'm surprised that SmartGWT would let that one through. Their naming policy is probably deliberate and one would have to ask what the consequences of such renaming would be. My guess would be that the correctly named file ends up in the classpath through the build process