Appearance
Run History & Logs
Every task execution is recorded with full output, timing, and status. Logs are retained for a configurable number of days.
Viewing run history
Per task: Open a task and click History to see the last 10 runs. Click any run to see the full output log.
Admin view: Go to Admin → Run History to search across all tasks and all users. Filter by task name, status (Success/Failed/TimedOut), date range, and script language.
Log levels
Output is colour-coded by level:
| Level | Colour | How to emit |
|---|---|---|
| DEBUG | Grey | $logger.Debug() / logger.debug() |
| INFO | White | $logger.Info() / logger.info() / Write-Output / console.log / print() |
| WARN | Yellow | $logger.Warn() / logger.warn() |
| ERROR | Red | $logger.Error() / logger.error() / Write-Error / console.error |
| SYSTEM | Blue | Internal messages from ApiMeld (task started, finished, timed out) |
Toggle Verbose in the log viewer to show or hide DEBUG messages.
Live streaming
When you click Run Now, output streams live to the browser via Server-Sent Events (SSE). You can watch your script's output in real time without waiting for it to complete.
Log retention
Go to Admin → Settings → General to configure log retention. The default is 90 days. A nightly maintenance job automatically purges runs older than the configured limit.
Reducing retention saves database space. Increasing it gives more history for audit and debugging purposes.
Run statuses
| Status | Description |
|---|---|
| Running | Currently executing |
| Success | Completed with exit code 0 / no uncaught errors |
| Failed | Script threw an error, exited non-zero, or was explicitly failed |
| TimedOut | Exceeded the configured timeout — process was killed |