Removing unnecessary logs