> > can any one tell me how to use log4j with
> servlets?
>
> Same way you use it with normal classes.
>
> Ted.
except you can get problems with classloaders if your webapp wants to use one version (and config) of log4j while your appserver is using another.
Best defer logging to the appserver loggers where available.