Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Fastly admin controller events are not logging by Admin Event Logging #635

Open
isitnikov opened this issue May 9, 2023 · 1 comment

Comments

@isitnikov
Copy link

isitnikov commented May 9, 2023

Adobe Commerce has a feature https://experienceleague.adobe.com/docs/commerce-admin/systems/action-logs/action-log.html?lang=en Admin Actions Log (EE) that tracks admin user activity like Saving Products, Flushing Cache etc.

But, Fastly admin actions are not logging because it's not implemented on the module level.

You can add file etc/logging.xml into you module where you can specify which events should be logged (I assume that all events are important):

<?xml version="1.0"?>
<!--
/**
 * Copyright © 2016 Magento. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<logging xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Logging:etc/logging.xsd">
    <groups>
        <group name="group_identifier_here">
            <label translate="true">Action Group Label here</label>
            <expected_models>
                <expected_model class="Vendor\Module\Model\Class" />
            </expected_models>
            <events>
                <event controller_action="fullcontroller_actionname_here_save" action_alias="save" />
                <event controller_action="fullcontroller_actionname_here_delete"
                       action_alias="delete" />
            </events>
        </group>
    </groups>
</logging>
@isitnikov isitnikov changed the title Fastly admin controller events are not logging by Admin Event Logging [Feature Request] Fastly admin controller events are not logging by Admin Event Logging May 9, 2023
@bbutkovic
Copy link
Contributor

Hello, @isitnikov, thank you for bringing this up with us, we'll review this internally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants