Overhauling logging strategy

logging.

Can you add a test where it passes in invalid XML or something on startup, so we fail that first deserialize?