Get rid of useless log statements