Log cleanup

Mike, this just complements https://github.com/Metaswitch/sprout/pull/162.