query changes for today and recent logs