Can you use `logged_query()` for this, please.