getting rid of useless logs