Magento 2 Enterprise Admin Action Logging Custom Module

It is possible to simply add Enterprise Admin Action Logging for a custom module adding a logging.xml and declare a group and afterwards enable this group in the configuration.

Stores > Settings > Configuration > Advanced > Admin > Admin Action Logs > Your Group Name

If you add a new one it will be disabled by default

Take a look at the following code sample:


<?xml version="1.0"?>
 * Copyright © 2016 Magento. All rights reserved.
 * See COPYING.txt for license details.
<logging xmlns:xsi=""
        <group name="group_identifier_here">
            <label translate="true">Action Group Label here</label>
                <expected_model class="Vendor\Module\Model\Class" />
                <event controller_action="fullcontroller_actionname_here_save" action_alias="save" />
                <event controller_action="fullcontroller_actionname_here_delete"
                       action_alias="delete" />