问题
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