| Author |
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 log4j.properties....where is it?
It seems that i don't have this file...
thanks
|
IDE: NetBeans 7.1 - Java:1.7.0_2 - JSF 2.0/2.1 - Mojarra 2.1.3 - Primefaces 3.2 - GlassFish 3.1.2
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14487
|
|
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 log4.properties 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 log4j.properties.
|
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.
Thanks.
Massimo
|
 |
 |
|
|
subject: where is the file log4j.proporties?
|
|
|