You need to walk around to the North side of the harbour to the immigration police that will stamp your passport.
You then need to walk back to the Port Authority on the South shore that will deal with the Transit Log.
Howard [ Just Imagine ] 19-Oct-2006