Skip to content

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:

LevelColourHow to emit
DEBUGGrey$logger.Debug() / logger.debug()
INFOWhite$logger.Info() / logger.info() / Write-Output / console.log / print()
WARNYellow$logger.Warn() / logger.warn()
ERRORRed$logger.Error() / logger.error() / Write-Error / console.error
SYSTEMBlueInternal 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

StatusDescription
RunningCurrently executing
SuccessCompleted with exit code 0 / no uncaught errors
FailedScript threw an error, exited non-zero, or was explicitly failed
TimedOutExceeded the configured timeout — process was killed

ApiMeld Task Scheduler