MDL-25187 upgrade log debugging to use new DML style