I\'d like to be able to log user activities in a web app. I\'m currently using log4j which works well for logging errors etc, but I\'m unsure what the best approach is to lo
If you want to log in sever logs, Use ServletContext.log() method which uses the container logging mechanism and logs into container logs..