Background Tasks
Inspect background task definitions and stream task-specific logs.
Environment Background Tasks
Inspect background task definitions and stream task-specific logs.
This guide covers deployed asynchronous tasks, task definitions, and CloudWatch log output.
About Background Tasks
A background task is an asynchronous process triggered by your application code. monolayer manages these tasks with Amazon Elastic Container Service (ECS) workloads and Amazon Simple Queue Service (SQS) triggers.
The Tasks page shows registered task types and log streams for each task category.
NOTE: If your application does not define background tasks, the page shows an empty state with a link to the monolayer software development kit (SDK) documentation.
Inspecting Background Tasks
To inspect background task definitions and trace runtime log output, you can use the background tasks dashboard.
Before you start
Your application must define and deploy at least one background task.
Steps
- Click Projects in the global sidebar.
- Click your target project.
- Click the target environment in the projects list.
- Click Tasks in the environment sidebar.
- Locate the target task definition.
- Click the task row to expand the details panel.
- Click Logs.
What happens next
The page streams CloudWatch log events for the selected background task.