Ah.. the procedure Log writes the string to a file. SQL.Text is logged, but 'prepared' not.
Out of curiosity: How can an SQL-Statement be prepared with unset parameters?
Well I thought that in that case, the exception would be raised at the "opening" stage.