I want to monitor when a user logs into aem and print some information into the logininfo.log file. I added an OGSI component and bound it to logininfo.log. But when I log into aem, nothing is printed into the log file. Is my EVENT_TOPIC written incorrectly?
Hi @ryuushihou1990 correct EVENT_TOPIC for user login in AEM is: org/apache/sling/auth/core/AuthenticationEvent
The rest code seems correct. If changing the EVENT_TOPIC doesn't work, you can use debugger and see if your code is executing properly or not. Please share the information here.
Hi @ryuushihou1990 correct EVENT_TOPIC for user login in AEM is: org/apache/sling/auth/core/AuthenticationEvent
The rest code seems correct. If changing the EVENT_TOPIC doesn't work, you can use debugger and see if your code is executing properly or not. Please share the information here.