Maybe it looks silly to ask this but I am confused. I referred to Configuring Log4j property but it doesn\'t seem to help.
I have written a simple web service HelloW
If you are using Logger.getLogger(ClassName.class) then place your log4j.properties file in your class path:
Logger.getLogger(ClassName.class)
log4j.properties
yourproject/javaresoures/src/log4j.properties (Put inside src folder)