For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
      • AstroFully-managed data operations, powered by Apache Airflow.
      • Astro Private CloudRun Airflow-as-a-service in your environment.
      • Professional ServicesExpert Airflow services for your enterprise's success.
    • Tools
      • Cosmos
      • Orbiter
      • CLI
      • AI SDK
      • Agents
      • Blueprint
      • UpdatesThe State of Airflow 2026See the insights from over 5,800 data practitioners in the full report. Download Now ➔
  • Customers
  • Docs
    • Insights
      • Blog
      • Webinars
      • Resource Library
      • Events
    • Education
      • Academy
      • What is Airflow?
  • Pricing
Get Started Free
    • Overview
      • Overview
      • Dag versioning
      • Airflow logs
      • DAG and task runs
      • Airflow REST API
    • Book Office Hours

Product

  • Platform Overview
  • Astro
  • Astro Observe
  • Astro Private Cloud
  • Security & Trust
  • Pricing

Tools & Services

  • Cosmos
  • Docs
  • Professional Services
  • Product Updates

Use Cases

  • AI Ops
  • Data Observability
  • ETL/ELT
  • ML Ops
  • Operational Analytics
  • All Use Cases

Industries

  • Financial Services
  • Gaming
  • Retail
  • Manufacturing
  • Healthcare
  • All Industries

Resources

  • Academy
  • eBooks & Guides
  • Blog
  • Webinars
  • Events
  • The Data Flowcast Podcast
  • All Resources

Airflow

  • What is Airflow
  • Airflow on Astro
  • Airflow 3.0
  • Airflow Upgrades
  • Airflow Use Cases
  • Airflow 2.x End of Life

Company

  • Our Story
  • Customers
  • Newsroom
  • Careers
  • Contact

Support

  • Knowledge Base
  • Status
  • Contact Support
GitHubYouTubeLinkedInx
  • Legal
  • Privacy
  • Terms of Service
  • Consent Preferences

  • Do Not Sell or Share My Personal information
  • Limit the Use Of My Sensitive Personal Information

Apache Airflow®, Airflow, and the Airflow logo are trademarks of the Apache Software Foundation. Copyright © Astronomer 2026. All rights reserved.

LogoLogo
On this page
  • Airflow Component Logs
  • Airflow component log levels
  • View Airflow component logs in the Astro UI
  • Filter options
  • View Airflow component logs locally
  • Airflow task logs
  • Airflow task log levels
  • View task logs in the Airflow UI
  • See also
Develop DAGs

View Airflow component and task logs for a Deployment

Edit this page
Built with

View task and Airflow component logs to troubleshoot your data pipelines and better understand the health of both your tasks and their execution environment.

Airflow has two different log types:

  • Component logs record the performance of your Airflow components.
  • Task logs records events emitted by your dag as each task executes.

You can retrieve Deployment logs programmatically with the Get Deployment logs endpoint in the Astro API. The endpoint supports filtering by log source (scheduler, triggerer, worker, webserver, dag-processor, or apiserver), time range, and free-text search, which makes it useful for building custom log workflows or integrations.

Task logs can additionally be exported to third-party observability platforms. See:

  • Export task logs and metrics to Datadog
  • Export task logs to AWS Cloudwatch
  • Export logs to a Secondary S3 Bucket
  • Export logs to a Secondary WASB Container

Airflow Component Logs

Airflow has four core components: the scheduler, triggerer, worker, and webserver/API server. Each component records its process in component logs. These logs can be used to monitor overall performance, troubleshoot errors, and optimize resources.

  • Dag processor logs describe the performance of the Dag processor, a sub-component of the Scheduler. The Dag processor is responsible for parsing dags and turning them into dag objects that contain tasks to be scheduled. These logs can help you understand both the Dag processor and scheduler performance. Dag processor logs are not available for Small Deployments because the Dag processor and scheduler run on the same host. For more information on configuring the scheduler on Astro, see Scheduler resources.

  • Scheduler logs describe the performance of the scheduler, which is responsible for scheduling and queueing task runs. These logs can help you understand scheduler performance and indicate if a task failed due to an issue with the scheduler. For more information on configuring the scheduler on Astro, see Scheduler resources.

  • Triggerer logs describe the performance of the triggerer, the Airflow component responsible for running triggers and signaling tasks to resume when their conditions have been met. The triggerer is used exclusively for tasks that are run with deferrable operators.

  • Worker logs are generated by Celery Workers and can help you monitor task execution to optimize performance. This type of log is not available when using the Kubernetes Exeuctor.

  • Webserver logs relate to the health and performance of the Airflow UI. If the Airflow UI at any point does not load, for example, webserver/API server logs might indicate why.

Airflow component log levels

Logs and messages might also be associated with one of the following log levels:

  • Error: Emitted when a process fails or does not complete. For example, these logs might indicate a missing dag file, an issue with your scheduler’s connection to the Airflow database, or an irregularity with your scheduler’s heartbeat.
  • Warn: Emitted when Airflow detects an issue that may or may not be of concern but does not require immediate action. This often includes deprecation notices marked as DeprecationWarning. For example, Airflow might recommend that you upgrade your Deployment if there was a change to the Airflow database or task execution logic.
  • Info: Emitted frequently by Airflow to show that a standard scheduler process, such as dag parsing, has started. These logs are frequent and can contain useful information. If you run dynamically generated dags, for example, these logs will show how many dags were created per dag file and how long it took the scheduler to parse each of them.

View Airflow component logs in the Astro UI

You can access scheduler, triggerer, and task logs in the Astro UI to find the past 24 hours of logs for any Deployment on its Logs page.

  1. In the Astro UI, select a Workspace and then a Deployment.

  2. Click the Logs tab.

The maximum number of lines returned is 10,000, with 50 results displayed per page. If there are no logs available for a given Deployment, the following message appears:

No matching events have been recorded in the past 24 hours.

Typically, this indicates that the Deployment you selected does not currently have any dags running.

Filter options

You can use the following options to specify the types of logs or messages that you want to view.

  • String search: Enter a string, keyword, or phrase to find in your logs. You can also search with suffix wildcards by adding a * to your search query. For example, acti* returns results that include action and acting. The string search does not include fuzzy matching, so misspelled strings or incomplete strings without a wildcard, *, return zero results.

  • Time range: Filter the logs displayed based on time.

  • Log type: Filter based on whether the log message is from a Dag Processor, Scheduler, Worker, Webserver/API Server, or Triggerer.

View Airflow component logs locally

To show logs for your Airflow scheduler, webserver, or triggerer locally, run the following Astro CLI command:

1astro dev logs

After you run this command, the most recent logs for these components appear in your terminal window.

By default, running astro dev logs shows logs for all Airflow components. To see logs only for a specific component, add any of the following flags to your command:

  • --scheduler
  • --webserver
  • --triggerer

To continue monitoring logs, run astro dev logs --follow. The --follow flag ensures that the latest logs continue to appear in your terminal window. For more information about this command, see CLI Command Reference.

Airflow task logs

Airflow task logs can help you troubleshoot a specific task instance that failed or retried. Based on your preference, you can choose to use to access task logs in the Astro UI or the Airflow UI. Both provide filters, search, and download options for task logs and share other information about your dag performance on the same page.

Task logs for Astro Deployments are retained for 90 days. The task log retention policy is not currently configurable.

You can also access local Airflow task logs in your local Airflow UI or printed to the terminal.

Airflow task log levels

Similar to the Airflow component log levels, task logs might also be associated with one of the following log levels, that you can search or filter with:

  • Error
  • Warn
  • Info
  • Debug
  • Critical

View task logs in the Airflow UI

  1. Access the Airflow UI.
  • To access the Airflow UI for a Deployment, open the Deployment in the Astro UI and click Open Airflow.
  • To access the Airflow UI in a local environment, open a browser and go to http://localhost:8080.
  1. Click a dag.
  2. Click Graph.
  3. Click a task run.
  4. Click Instance Details.
  5. Click Log.

See also

  • Export task logs and metrics to Datadog
  • Export task logs to AWS Cloudwatch
  • Export task logs to AWS Cloudwatch
  • Export logs to a Secondary S3 Bucket
  • Export logs to a Secondary WASB Container