Project Lombok @Slf4j external configuration

别来无恙 提交于 2019-12-11 15:05:23

问题


so I'am writing simple Spring Boot(version 1.56) Application. And started using Project lombok, specifically@Slf4j feature for logging. Logging works fine, but how can I configure this logger? To be precise I want to be able to change logging level using external file.


回答1:


It has nothing to do with lombok, it is about slf4j configuration. It should be done by updating your application.properties file.

You can check here and here



来源:https://stackoverflow.com/questions/46222068/project-lombok-slf4j-external-configuration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!