Disable HikariPool logging

后端 未结 4 723
被撕碎了的回忆
被撕碎了的回忆 2021-02-18 19:20

This is perhaps a very simple question. How do i disable Hikari-CP debug logs? In my log file i have lots of these messages

DEBUG [.zaxxer.hikari.pool.HikariPool         


        
4条回答
  •  孤街浪徒
    2021-02-18 19:45

    I use log4j properties, simple add these two lines:

    log4j.category.com.zaxxer.hikari=INFO
    log4j.logger.HikariPool=INFO
    

提交回复
热议问题