tdevilleduc / urthehero

0 stars 0 forks source link

move controller enter log into dedicated filter #71

Closed tdevilleduc closed 4 years ago

tdevilleduc commented 4 years ago

In every controller classes

if (logger.isInfoEnabled) { logger.info(ApplicationConstants.CONTROLLER_CALL_LOG, request.requestURI) }

tdevilleduc commented 4 years ago

Problem: This log are print at startup

2020-04-09 10:51:13.676 INFO 15632 --- [ main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'taskScheduler' WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils (file:/C:/Users/devil/.m2/repository/org/springframework/spring-core/5.2.5.RELEASE/spring-core-5.2.5.RELEASE.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 2020-04-09 10:51:14.003 INFO 15632 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]