在yml文件中添加以下属性:

logging:
level:
root: debug