Spring-boot with spring-mybatis - how to force it to logging all SQL queries
<p>I have a simple spring-boot-mybatis app (keep in mind, please). Mybatis is logging SQL queries only in case of failure (on excepions).  Tell me please, how to force it to log all SQL query to console ?  </p>

<p>At this moment I am using <code>slf4j</code> logger  (automatically configured by <code>spring-boot</code>).<br>
I find this link: <a href="http://www.mybatis.org/mybatis-3/logging.html" rel="noreferrer">http://www.mybatis.org/mybatis-3/logging.html</a><br>
however I didnt manage to follow it.  First of all configuration is shown for <code>log4j</code>, and I am not sure If I correctly understand: Is it sufficient to configure in <code>application.properties</code> ?  </p>

<p>Thanks in advance </p>