方法一: logging: level: debug level.io.renren: debug path: logs/ file: admin.log 方法二 logging: level: com: huiyu: digitalcampus: service: mapper: debug