Search code examples
javajspliferay-6custom-actionportal

Logging custom action event Liferay - user add + delete


Does anybody know how can I log to a file the creation/deletion event for an user in Liferay 6.2? Is there any 'listener' that I must watch for or any action (struts action) that can be overwritten to achieve this?

I successfully used a hook to log the login and logout events, using custom action and portal properties.

If anybody knows a way to log certain events (e.g. adding user to an usergroup or something similar) using custom code (maybe JSP), please share with me.


Solution

  • This will be helpful Its a tutorial to override liferay service action.

    http://proliferay.com/liferay-service-hook-override-liferay-service/