Removing uneeded logging