----
Log query.open too.