System Logs in WhatsMark β
WhatsMark offers a comprehensive Log Viewer that provides real-time insight into your applicationβs health and behavior. Whether you're debugging, tracking failed requests, or analyzing system changes, this module ensures detailed log visibility for developers and admins.

Key Features β
Severity-Based Filters β
WhatsMark categorizes logs using Laravelβs built-in logging levels. Each level represents the severity and purpose of the log entry:
| Level | Description |
|---|---|
| Emergency | System is unusable. Requires immediate attention. Example: βServer crashed and cannot restart.β |
| Alert | Action must be taken immediately. Example: βDatabase connection dropped unexpectedly.β |
| Critical | Critical conditions that threaten core functionality. Example: βFailed to load payment gateway keys.β |
| Error | Runtime errors that should be investigated but donβt halt the system. Example: βWebhook timeoutβ or βAPI failed to respond.β |
| Warning | Something unexpected occurred but the system continues to function. Example: βDeprecated config used.β |
| Notice | Normal but significant events. βΉ Example: βNew admin user created.β |
| Info | Informational messages for general application events. Example: βUser logged in successfully.β |
| Debug | Detailed debug information for developers during testing. Example: βVariable $user contains null.β |
| Local | Custom tag to show logs relevant only to local/development environments. Example: βTesting mode active.β |
Log Entries Overview β
WhatsMark presents logs in a user-friendly, paginated table with the following structure:
| Field | Description |
|---|---|
| Level | Severity classification (e.g. ERROR, DEBUG, INFO). |
| Date & Time | Timestamp of when the log was generated (e.g., 2025-06-20 07:10:11). |
| Content | Brief description or a truncated JSON message of the error or system message. |
| Actions | A View button to examine complete log details in a modal window. |
| Pagination | Select how many entries to display per page (e.g., 15 Per Page). |
View Log Entry Details β
When clicking on the View button, a modal displays detailed content from the selected log.

Example Log Entry β
Log Entry: 2025-02-28 15:24:28Level: ERROREnvironment: local
This type of error usually indicates a network timeout or DNS resolution failure during a webhook/API call.
Log File Management Options β
Manage and maintain your logs effectively with the following actions:
- Refresh β Updates the view to show the latest entries.
- Delete β Deletes the selected log file (use with caution).
- Clear All Logs β Erases all logs in one action for cleanup and space recovery.
- Log File Selector β Switch between logs using the dropdown (e.g.,
laravel-2025-06-20.log).
Common Log Issues and Descriptions β
| Issue Type | Description |
|---|---|
| Webhook Timeout | Occurs when external APIs or webhooks fail to respond within the allowed time. |
| Template Errors | Happens when message templates fail to render properly. |
| Config Errors | Usually due to missing or outdated config cache. |
| Route Not Found | Indicates missing or invalid endpoint usage. |
Log Actions Explained β
Each log entry listed in the log viewer provides an "Actions" column where you can perform detailed operations:
View β
- Clicking the View button opens a modal window showing the full log entry.
- It includes:
- Timestamp
- Log Level (e.g., ERROR, WARNING)
- Environment (e.g.,
local,production) - Full content of the log (API response, webhook error, exception stack, etc.)
- This feature is especially useful for debugging failed webhooks, API timeouts, or template rendering issues.
Why the View Action Matters β
- Helps identify root causes of recurring issues.
- Enables quick inspection without needing to open log files manually.
- Works with filters (Error, Warning, Info, Debug) for efficient troubleshooting.
Use the "View" action consistently when:
- You need full tracebacks for Laravel exceptions.
- A webhook or cron job is silently failing.
- Logs appear frequently for the same event (indicating a systemic error).