Logs all T-SQL queries to the table referenced in the config