Read PrestaShop logs
ps_get_logs
Read-onlyBlock 1 · Content & SEOFree in AuditDaily connectorVisible right after install
Reads the shop's error log, so Claude can tell you what went wrong and when.
Ask Claude
„Show me errors from the last 3 days. Did anything break after yesterday's module update?”
Example answer
2026-10-02 14:03 error: "Undefined index id_carrier in modules/xyzshipping/..." (37 times). 2026-10-02 14:05 warning: "Cannot load template ...".
Technical details
Entries from the PrestaShop log (Advanced parameters > Logs) for a period, filtered by severity and text. With employee_only=true it shows only entries of the connector's employee, that is changes made through Claude. Emails and phone numbers in messages are masked.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| date_from | string (YYYY-MM-DD) | no | Start of the period (default 7 days ago). |
| date_to | string (YYYY-MM-DD) | no | End of the period (default today). |
| severity | enum: info | warning | error | major | no | Minimum severity (default warning). |
| search | string | no | Fragment of the message text, max 100 characters. |
| employee_only | boolean | no | Only entries of the connector's employee (default false). |
| limit | integer | no | Maximum rows (default 50, max 200). |
| offset | integer | no | Rows to skip, for paging (default 0). |
Limits
Max 200 rows per call. Messages cut to 300 characters. Emails and phone numbers masked.
Related tools
- Check shop health ps_check_shop_health
- List changes ps_list_changes
- List modules ps_list_modules
Last updated: 2026-10-03