Takes one line from a csvlog, parses out the SQL query, subs in the parameter values, and prints the query.