Action log archive

Adobe Commerce feature {width="20"} 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

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.

    Advanced configuration - admin actions log archiving {width="600" modal="regular"}

    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.

Action log archive {width="600" modal="regular"}