springboot在yml中配置控制台sql打印方法小结

方法一:

logging:

level: debug
path: logs/
file: admin.log
 

方法二

logging:

   level:
    com:
      huiyu:
        digitalcampus:
      service:
      mapper: debug
原文地址:https://www.cnblogs.com/zblwyj/p/10496057.html