Removes a bunch of logging statements