How To Print MyBatis SQL
SpringBoot properties file should be written like this:
logging.level.com.test.example.dao = debug
mybatis.configuration.log-impl = org.apache.ibatis.logging.stdout.StdOutImpl
notice: the second configuration is important! Otherwise it won’t be affected!
Don’t believe in those copycats, I tried it out by myself.