.properties文件   

logging.level.com.example.demo.dao=debug


.yml文件

# 打印sql
logging:
  level:
     com.example.demo.dao : debug

 

com.example.demo.dao 是你的dao的位置

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-26
  • 2022-12-23
  • 2021-06-18
  • 2022-02-13
  • 2022-01-27
猜你喜欢
  • 2021-07-31
  • 2022-12-23
  • 2022-02-24
  • 2021-12-06
  • 2022-02-12
  • 2021-11-09
  • 2022-12-23
相关资源
相似解决方案