Logging user activity in web app

后端 未结 3 1686
旧巷少年郎
旧巷少年郎 2020-11-29 00:50

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

3条回答
  •  死守一世寂寞
    2020-11-29 01:38

    If you want to log in sever logs, Use ServletContext.log() method which uses the container logging mechanism and logs into container logs..

提交回复
热议问题