Fixed log format reconfiguration regression.

Commit c991135 introduced a regression where it was no longer possible
to re-configure the loggers once they had been set up. This is now
fixed.