updated logs to show last 10 only, also handled on a device trash or delete