A first stab at extending LogFormats

This will need proper tests and we should also consider 2.4's
ErrorLogFormats.