Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
How to get liferay login concurrent user's log to find how many users online at a time?
How to maintain user's activity log?
Thanks in advance.
您只能看到实时用户。如果 portlet 是自定义的,您可以在代码中输入日志以查看活动,但如果您想要 liferay 的 portlets 活动,则需要对代码进行大量更改。要查看用户,首先在 portal-ext.properties 中添加以下内容。它在门户属性中设置为 false。
live.users.enabled=true
现在您可以在控制面板的监控菜单中看到当前在服务器上的用户。