Move the IP logging functionality into the Application layer and out of the view layer