Task: log login attempts. I use log4j2 and Spring Security / MVC, before that I used filters and servlets. I used to just logging in a servlet, how to implement this in spring?
PS There is an assumption to catch in the controller / j_spring_security_check, and there to write to the log, but I do not fully understand how to do it.