BC-1719 better slow query logging