want to use logging mechanism in my dynamic web project using log4j
I am a newbie. I want to do logging in my dynamic web project using log4j. I have reffered few manuals and all and know bit about appenders, layouts and loggers. 

But to start with, I just want to write one servlet and use logging in it. My problem is I am not able to get how to build that dynamic web project with one servlet using ANT. Because it is giving issues after using log4j.

I dont know what all changes are required to use logging.

Can anyone give me a sample example for this ?

Thanks
want to use logging mechanism in my dynamic web project using log4j
===

I am a newbie. I want to do logging in my dynamic web project using log4j. I have reffered few manuals and all and know bit about appenders, layouts and loggers. 

But to start with, I just want to write one servlet and use logging in it. My problem is I am not able to get how to build that dynamic web project with one servlet using ANT. Because it is giving issues after using log4j.

I dont know what all changes are required to use logging.

Can anyone give me a sample example for this ?

Thanks