logging.path=/User/jackie/workspace/rome/ 日志的保存路径
logging.file=springbootLog.log 保存文件,注意file和path同时存在时,file生效,保存在根目录下,可以在file中设置路径如/logs/log/test.log
logging.level.root =warn
logging.level.com.wht.logging.logger01=warn
logging.pattern.file=%d{yyyy/MM/dd-HH:mm:ss} [%thread] %-5level %logger :: %msg%n
原文:https://www.cnblogs.com/whtblog/p/10505939.html