---
title: Audit log
project: Tables
version: 7.0
section: guides
language: es
translation: missing
license: Total.js Enterprise
url: https://totaljs.es/docs/es/tables/7-0/guides/audit-log/
updated: 2026-11-20T06:39:57.622Z
---

# Audit log

> Record who created, changed or removed data and tables.

The audit log records the changes that users and API tokens make: saved, cloned and removed records, and changes to tables and views.

## Turn on the audit log

**1.** Open the file `config` of the app.

**2.** Set `auditlogs` to `true`:

```text
auditlogs             : true
```

**3.** Restart Tables.

## Read the audit log

Tables writes the log to the database table `tbl_log`. Read it with any PostgreSQL client:

```sql
SELECT dtcreated, createdby, action, ip
FROM tbl_log
ORDER BY dtcreated DESC
LIMIT 50;
```

`action` is the name of the operation, for example `Data|save` or `Tables|save`. `createdby` is the user or the app name of the API token.
