c.setChildItem(Component.LOGGER_OUTPUT_CATEGORY, getChildCategory(Component.LOGGER_OUTPUT_CATEGORY)); removeChildCategory(Component.LOGGER_OUTPUT_CATEGORY);
c.setChild(Component.LOGGER_OUTPUT_CATEGORY, getCategory(Component.LOGGER_OUTPUT_CATEGORY)); removeCategory(Component.LOGGER_OUTPUT_CATEGORY);
    public void deconfigure() throws Exception {        Configuration c = (Configuration) getChildItem(Component.CONFIGURATION);        if (c != null) {            c.setChildItem(Component.LOGGER_OUTPUT_CATEGORY, getChildCategory(Component.LOGGER_OUTPUT_CATEGORY));            removeChildCategory(Component.LOGGER_OUTPUT_CATEGORY);        } else {            throw new Exception("Could not deconfigure component. The configuration is null.");        }        super.deconfigure();    }