log statement before executing in sql finalizer and add suport for excludded columns to db loader