I don't know if it is a right place to put my query still...
i have a java web application. i want to use log4j for error handling purpose.
but i don't know where to put the required file...can any one please help me with step by step process of how to use it?? i am using netbeans.
i tried creating a properties file and copied the contenet searched from net in log4j.properties file. as
i have put this file in the src folder of my project generated by netbeans. there is no build folder generated till now.
i have put the log4j.jar file in my application folder..Try1...where other folders like src,test,web,nbproject folder and build.xml file is there.
then i created a sample java file LogClass.java as
but here it gives an errror at importing package line.....that is at..
saying the org.apache.log4j doesnot exist.
can any one please help me where i am going wrong. I am using Tomcat as a web server
subject: using and configuring log4j in my application