参照: https://blog.csdn.net/zhangxiaoyang0/article/details/53766786 log4j.logger.***.dao=debug 此处相当重要 没有可能就不会打印sql,***代表dao 所在的包名