removing unneeded log entries