Produce a log file for the collection

This is a port of the collection.log file that the desktop client produces.

Stored in the same directory as the collection. Rolls over every 10MB with a depth of 2.