Configuration issues on springboot logs and logging.path of logging.file

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.

Guess you like

Origin www.cnblogs.com/songxiaoke/p/11482221.html