Skip to content

Does anyone know why Airflow create repeating log on the scheduler log? #33714

Answered by Taragolis
adjinugroho asked this question in Q&A
Discussion options

You must be logged in to vote

As the discussion title say, does anyone here know why that happen?

Because scheduler/dag_processor continuously parse DAG from .py files every min_file_process_interval (30 sec by default)

Does anyone know how to adjust this?

I would start with this one
-Fine-tuning your Scheduler performance
-Advanced Logging

At the moment, each log produce ~5mb/DAG/daily. And IMO, 5mb for log file is too much.

I would start worrying on this point, that might refers to some issues with you're DAG code, so better the check that your DAG follow Best Practices

That how you logs should look like, please attention on: time to process, logs frequencies and next_dagrun

[2023-08-23T00:00:33.588+0000] {pro…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@adjinugroho
Comment options

Answer selected by adjinugroho
Comment options

You must be logged in to vote
1 reply
@adjinugroho
Comment options

Comment options

You must be logged in to vote
1 reply
@potiuk
Comment options

potiuk Aug 25, 2023
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants