Action logs
The Action Logs feature records (logs) every change made by an Admin user who works in your store. This allows you to track all the changes made to your store. Tracking these changes, along with setting Admin permissions for a user, can help to secure your store from unwanted changes.
For most Admin actions, the logged information includes the action, the name of the user, success or failure of the action, and the ID of the object affected by the action. The IP address and date are also logged.
By default, all admin actions are enabled and logged. To configure Admin actions Logging, review the options and select or clear the checkbox for each action type. ÃÛ¶¹ÊÓƵ Commerce logs only checked types.
View the Action Logs Report to review logged admin actions and details.
{width="600" modal="regular"}
For a detailed list of the configuration settings, see Admin Actions Log Archiving in the Configuration Reference.
Configure Admin actions for logging
-
On the Admin sidebar, go to Stores > Settings > Configuration.
-
In the left panel, expand Advanced and choose Admin.
-
Expand the Admin Actions Logging section and do the following for each action:
- To enable Admin logging for the action, select the checkbox.
- To disable Admin logging for the action, clear the checkbox.
-
When complete, click Save Config.
Archive Admin actions log
Admin action logs can be archived for any number of days. Archives can also be deleted after a specified duration.
-
In the left panel, expand Advanced and choose System.
-
Expand Admin Action Log Archiving and set the options:
- Logs Entry Lifetime, Days - Set the number of days to retain archived log.
- Log Archiving Frequency - Set the Frequency for creating archives.
-
When complete, click Save Config.