Logging solutions

Logging was solved using C by 7 contestants. Solution sizes: average 1713 bytes (shortest: 703; longest: 3298).