Log query while importing SQL.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>