Spanish Total.js
Français
Documentation Pour les agents IA
Sommaire

Audit log

Record who created, changed or removed data and tables.

.md Site web

Cette page n’est pas encore traduite. Tu lis l’original.

Sur cette page

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:

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:

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.

Fabriqué en Europe