๐ Logs
The Logs section in WC Studio provides access to site-specific error logs, allowing you to debug PHP errors, Laravel stack traces, cron failures, and more. This is your primary tool for identifying what went wrong when your store or custom features misbehave.๐ Accessing Logs
Go to:WC Studio โ Stores โ Select a Store โ Advanced โ Logs
Each store has its own isolated logs for security, visibility, and clarity.
๐งพ Log Format
Logs follow a standard format, which includes:- Timestamp of the error
- Error level (e.g.
local.ERROR
) - Error message
- Stack trace
๐ Using the Logs Interface
- Logs are automatically grouped by date
- You can search by keywords (e.g., error type, class name)
- Click any log entry to expand and view the full trace
- Use filters to sort logs by severity:
error
,warning
,info
๐ Log Management Options
Option | Description |
---|---|
Download Logs | Export logs as .txt files for local debugging |
Clear Logs | Manually delete old logs you no longer need |
Auto Rotation | WC Studio automatically rotates logs to prevent overgrowth |
โ ๏ธ Common Errors Youโll See
- ๐ง Missing service providers or Laravel packages
- ๐งฉ Plugin/theme compatibility errors
- ๐ PHP fatal errors (class/function not found)
- โฑ Cron job failures
- ๐ Broken API/webhook integrations
๐ก Pro Tips
- โ
Enable
WP_DEBUG
and Log Errors in WP Config for detailed error tracking - โ Pair logs with Snapshots to roll back if debugging causes new issues
- โ Use logs after updates, deployments, or plugin/theme changes to verify stability