Do not use the @ComponentScan annotation, as @SpringBootApplication already covers it.
@ComponentScan
@SpringBootApplication
Set the log level to DEBUG in the settings of your application.properties file.
logging.level.org.springframework.security=DEBUG