0

I am using docker-compose to deploy a local Airflow instance by following the official documentation.

The default Airflow logging level is WARNING. Hence in docker-compose I added the following environment variable to set the log level to INFO:

AIRFLOW__LOGGING__LOGGING_LEVEL: INFO

Inside the docker container for Airflow, I can see the environment variable for logging level is set to INFO correctly.

The info logging works in a PythonOperator.

However it does not work in a KubernetesPodOperator. None of the logging.info() statements in my KubernetesPodOperetor generated output in the log.

How do I make this work?

Hui
  • 97
  • 7

0 Answers0