<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright The WildFly Authors
  ~ SPDX-License-Identifier: Apache-2.0
  -->

<feature-group-spec name="management-audit" xmlns="urn:jboss:galleon:feature-group:1.0">
    <feature spec="core-service.management.access.audit">
        <feature spec="core-service.management.access.audit.json-formatter">
            <param name="json-formatter" value="json-formatter" />
        </feature>
        <feature spec="core-service.management.access.audit.file-handler">
            <param name="file-handler" value="file" />
            <param name="relative-to" value="jboss.server.data.dir"/>
            <param name="formatter" value="json-formatter" />
            <param name="path" value="audit-log.log"/>
        </feature>
        <feature spec="core-service.management.access.audit.logger.audit-log">
            <param name="log-boot" value="true" />
            <param name="log-read-only" value="false"/>
            <param name="enabled" value="false"/>
            <feature spec="core-service.management.access.audit.logger.audit-log.handler">
                <param name="handler" value="file" />
            </feature>
        </feature>
    </feature>
</feature-group-spec>
