This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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: 17039

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

An IDE is no substitute for an Intelligent Developer.
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.
Have you checked out Aspose?
subject: where is the file log4j.proporties?
jQuery in Action, 3rd edition