Reputation: 865
I want to log all sites i mean URL's visited by user in my app to a file.how to do it with log4j.
With advance thank's Laxmi
Upvotes: 0
Views: 199
Reputation: 9304
Alternatively you can configure your application server to log all requests. In Tomcat for example you can configure an AccessLogValve, as described here. http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html
This way you don't have to redeploy.
Upvotes: 0