XML logging foundation