Christophe Verré wrote:Where did you put log4j.properties ? Under WEB-INF ?
Yes it is under WEB-INF folder. As i said earlier there is no problem in detecting the prop file. Because the log messages got printed in console but when i try to write them to a file, it isn't writing. The log.txt file is also under WEB-INF.
Never try to be a hard-worker. Be a smart-worker.