dcsimg
File Appender error
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   dhanushka_wijesinghe
Posted On:   Friday, December 21, 2007 12:38 AM


i am new to log4j.i have problem like below.
when i write log it gives error like that
log4j:WARN No appenders could be found for logger (com.fortunaglobal.transbridge
.iso.parser.XMLRequestHandler).
log4j:WARN Please initialize the log4j system properly.



To run my code i create a jar file including my all classes using ant.i put my log4j.property file into the folder where log4j.jar exit.in XML i have configured log4j.jar file location.but as i feel it cant identify the location of log4j.property file.

Please give me help to solve my problem

Dhanushka

Re: File Appender error

Posted By:   Christopher_Koenigsberg  
Posted On:   Saturday, December 22, 2007 06:58 PM

The log4j.properties file should be somewhere on the CLASSPATH. In a web application, put it in "WEB-INF/classes/".
About | Sitemap | Contact