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
I have used log4j in the past in order to log more than just errors. I added INFO tags throughout my code and change the logging level. That way if you decide you no longer need to log those activities you can just change the logging level and you are done. I hope that helps.