Logging solutions

Logging was solved using OCaml by 3 contestants. Solution sizes: average 1682 bytes (shortest: 1028; longest: 2557).