Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Other Open Source Projects and the fly likes where is the file log4j.proporties? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "where is the file log4j.proporties?" Watch "where is the file log4j.proporties?" New topic

where is the file log4j.proporties?

massimo tarantelli
Ranch Hand

Joined: Jun 19, 2012
Posts: 35

Hello everybody,
I have this kind of error...i know, very basic question
log4j:WARN No appenders could be found for logger (org.primefaces.facestrace.phase.listener.TraceResourcePhaseListener).
log4j:WARN Please initialize the log4j system properly.

I read that it's related to the classpath setting, but I didn't find the is it?
It seems that i don't have this file...
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16535

We actually have a separate forum for problems with log4j. Log4j doesn't have any JSF-specific characteristics (nor [i]vice versa[i]).

However, in a J2EE webapp, the file should be located in the root of the webapp classes directory. That is, "/WEB-INF/classes".

That is also true if you use log4j.xml, which will override

Customer surveys are for companies who didn't pay proper attention to begin with.
massimo tarantelli
Ranch Hand

Joined: Jun 19, 2012
Posts: 35

Thanks as always,
unfortunatly i didn't find the solution, I'm posting the post under the right category.
I agree. Here's the link:
subject: where is the file log4j.proporties?