ulisesbocchio / jasypt-spring-boot

Jasypt integration for Spring boot
MIT License
2.93k stars 523 forks source link

jasypt干扰了spring boot项目的日志输出/about log #400

Closed linqihe closed 3 months ago

linqihe commented 3 months ago

I used Spring Boot 2.7.12 and jasypt-Spring-Boot-Starter 2.1.2. After the program started, the log output was affected, and Spring. Application. Name is undefined: 0000 was output. I found that Jasypt got all the configuration files when it started, but I don't know why it affected the log output. So I replaced it with jasypt-spring-boot2.0.0, through @Configuration. @EncryptablePropertySource(name = ", value = "classpath:") Public class MyJasyptConfig {} imported the file path to be configured, and successfully output all logs.