implemented logging control for spring-boot