Liquibase preCondition onFailMessage not logged if logLevel is WARN

I’m rather new to Liquibase and I’m basically exploring this great tool (version 3.5.1), but I’ve just come accross a behaviour that doesn’t sound right to me.

Let’s consider the following changeSet:


logFile: ./lb_logs/liquibase.log
My problem is the message is not logged when logLevel is set to “warning” whereas it gets logged when I set the logLevel to “info”, but then the log is filled with a lot of information I just don’t want to see in my log file.

I thought onFail=“WARN” and logLevel=“warning” was a consistent setting, but maybe I’m mistaken.

Could someone help me understand this behaviour?