path 和name任选其一, max-file-size 后面是字节 10240 为10k logging: file: path: D:\data name: test.log logback: rollingpolicy: max-file-size: 10240