springboot log configuration logging.path logging.file
They both will not come into effect, so only configure one just fine.
eg1:
A single path configuration logging.path = E: / logDemo
Generate default path name spring.log
EG2:
A single file configuration logging.file = E: /logDemo/a.log
Generating path name a.log
eg3:
file and path configure
b.log appeared in the path path is not generated in the directory.