improved dumpsys log generation