NutzCN Logo
问答 log 日志中 如何不输出类似的SQL语句
发布于 2195天前 作者 qq_aa3c3876 2070 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk
18-12-19 15:10:20.189 DEBUG [http-nio-8001-exec-3] SELECT * FROM hy_tree  WHERE id=?
    |   1 |
    |-----|
    | 117 |
  For example:> "SELECT * FROM hy_tree  WHERE id='117'"
18-12-19 15:10:20.190 DEBUG [http-nio-8001-exec-3] SELECT * FROM wd_specialty  WHERE id=?
    |                  1 |
    |--------------------|
    | 524586459806248960 |
  For example:> "SELECT * FROM wd_specialty  WHERE id=524586459806248960"
18-12-19 15:10:20.191 DEBUG [http-nio-8001-exec-3] SELECT * FROM hy_project_info  WHERE id=? LIMIT 0, 1 
    |                                    1 |
    |--------------------------------------|
    | 51C6E0C9-6BB6-4DDC-8D16-298B398C2805 |
  For example:> "SELECT * FROM hy_project_info  WHERE id='51C6E0C9-6BB6-4DDC-8D16-298B398C2805' LIMIT 0, 1 "

1 回复

log4j.properties里面设置一下org.nutz.dao的日志级别

添加回复
请先登陆
回到顶部