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.
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.