The log (as in chronologically written record) surely derives from the book where the log measurements were recorded, so it's all the same basically. Nauticalese is like a separate language that "infects" coastal languages with common terminology. Of course this would all be much more interesting if Log and Buch did not share gender.