---
title: Delete activity logs
description: Delete all activity logs now, and choose what happens to your data when you uninstall Pastmark.
url: "https://docs.prefixwp.com/docs/pastmark/pastmark-settings/delete-activity-logs/"
updated: "2026-11-10"
category: Settings
---

# Delete activity logs

Go to `User Activity → Settings → Data Management`.

[![The Data Management tab with Remove Data On Uninstall and the Delete Data Instantly button](http://localhost/wp-content/uploads/2026/09/pastmark-settings-data.webp)](http://localhost/wp-content/uploads/2026/09/pastmark-settings-data.webp)
User Activity → Settings → Data Management.

## Delete all logs now

1. Click **Delete Data Instantly**.
2. Pastmark asks: **Are you sure you want to delete all activity logs instantly? This action cannot be undone.**
3. Click **OK**.
4. You see a message like **Deleted 158 activity log entries successfully.**

**Delete Data Instantly deletes all your activity logs**, not only the old ones. You cannot undo it. To delete only old events, use **Auto Delete Logs** in `General Settings`. Read [General settings and auto-delete](/docs/pastmark/pastmark-settings/general-settings-and-auto-delete/).

## What happens when you uninstall Pastmark

**Remove Data On Uninstall** is **off** by default.

| Remove Data On Uninstall | When you delete the plugin |
| --- | --- |
| Off (default) | Your logs and settings stay in the database. If you install Pastmark again, they are still there. |
| On | Pastmark deletes its log table and its settings. This includes the access setting, the install date and saved admin bar menu data. |

When you only **deactivate** Pastmark, your logs and settings always stay. Pastmark stops recording until you activate it again.
