Removing extraneous logs