Hi Yan, To make @Slf4j works, see "https://apereo.github.io/cas/developer/Build-Process-5X.html#plugins" the *Lombok plugin *is what you want to look at.
Alternatively, going back in time to *CAS 5.2.x* and you will see how LOGGER is originally implemented. Your cited class "SendPasswordResetInstructionAction" is not a very good example, since it is inconsistent with other similar classes (in CAS 5.2.x that is~). When you look at most other classes that implement LOGGER, like this: https://github.com/apereo/cas/blob/5.2.x/support/cas-server-support-oidc/src/main/java/org/apereo/cas/oidc/web/controllers/OidcAuthorizeEndpointController.java https://github.com/apereo/cas/blob/5.3.x/support/cas-server-support-oidc/src/main/java/org/apereo/cas/oidc/web/controllers/OidcAuthorizeEndpointController.java And only looking at the part about LOGGER and @Slf4j. You will see how the LOGGER evolve into @Slf4j :) Hope that make sense to you! Cheers! - Andy -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/b4becf34-87d8-42c5-8c1d-d55a969bb496%40apereo.org.