Removing debug log code