Skip to content

Task sdk logs are getting truncated on UI #62341

@atul-astronomer

Description

@atul-astronomer

Apache Airflow version

main (development)

If "Other Airflow 3 version" selected, which one?

No response

What happened?

Full logs are not being displayed on UI

Image

What you think should happen instead?

No response

How to reproduce

Use the below Dag:

import datetime as dt

from airflow import DAG
from airflow.providers.standard.operators.python import PythonOperator


def run():
    for x in range(100):
        print(x)

with DAG(
    dag_id="dag2",
    start_date=dt.datetime(2024, 7, 3),
    schedule=None,
) as dag:
    task_success = PythonOperator(
        task_id="task_success",
        python_callable=run,
    )

Operating System

Linux

Versions of Apache Airflow Providers

No response

Deployment

Other

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions