Enabling SQL logging turned out the be quite easy, but it took a while to figure out, because the current top search results are out of date: they work with older versions of MyBatis (or iBatis).
To cut to the chase, the solution is simply to set the logger "org.activiti.engine.impl.persistence.entity" to level DEBUG:
1 | < logger name = "org.activiti.engine.impl.persistence.entity" level = "DEBUG" /> |
1 | < logger name = "org.activiti.engine.impl.persistence.entity.ExecutionEntity" level = "DEBUG" /> |
1 | < logger name = "org.activiti.engine.impl.persistence.entity.VariableInstanceEntity" level = "DEBUG" /> |