Changing logging to include port