Changed SQL logging to log final SQL instead of pre-substitution SQL
Merge pull request #80 from rbtying/sql

Changed SQL logging to log final SQL instead of pre-substitution SQL