[#2532] Let batch executions debug-log executed queries