Action log archive

+-----------------------------------+ | img-md | +===================================+ | w-20 | +-----------------------------------+ | Adobe Commerce feature | +-----------------------------------+Exclusive feature only in Adobe Commerce (Learn more)

The Admin actions archive lists the CSV log files that are stored on the server. In the configuration, you can specify how long the log entries are stored, and how often they are archived. By default, the file name includes the current date in ISO format: yyyyMMddHH

NOTE
Log archiving requires a cron job to be set up.

Configure the log archive

  1. On the Admin sidebar, go to Stores > Settings > Configuration.

  2. In the left panel, expand Advanced and choose System.

  3. Expand Expansion selector the Admin Actions Log Archiving section and set these options:

    • Log Entry Lifetime, Days — Enter the number of days that you want to keep the log entries in the database before they are removed.
    • Log Archiving Frequency — Set to Daily, Weekly, or Monthly.
    img-md
    w-600 modal-image
    Advanced configuration - admin actions log archiving

    For a detailed list of the configuration settings, see Admin Actions Log Archiving in the Configuration Reference.

  4. When complete, click Save Config.

View the archive

On the Admin sidebar, go to System > Actions Logs > Archive.

w-600 modal-image
Action log archive
recommendation-more-help
d3c62084-5181-43fb-bba6-1feb2fcc3ec1