Double log files in spring boot application
问题 I have a spring boot application, called service1, which uses the following hierarchy of property files to configure the logs: bootstrap.yml has: spring.application.name = service1 application.yml has: logging.file: /app/logs/${spring.application.name}.log logging.level.root: INFO logging.level.com.myproject.api: TRACE The log framework used is Slf4j, which is injected into every class by using Lombok's @Sfl4j annotation. spring boot claims to have default support for this, which it does, but