title: capture executed sql from input table in pentaho pdi
body: <p>I am using pentaho for data migration testing. I have set a "table input" step where many parts of the query inside "table inputs" are variables. I have been looking for a way to capture that query after it gets executed during runtime. 
  I was wondering if there is any specific system log variables for sql or is it to do with metadata. need help!  Thanks</p>