Skip to content

Latest commit

 

History

History
44 lines (40 loc) · 1.17 KB

File metadata and controls

44 lines (40 loc) · 1.17 KB

Log aggregation

The logs can be forwarded to a Vector log aggregator by providing a discovery ConfigMap for the aggregator and by enabling the log agent:

Note
airflow.task log level is set to INFO by default.
spec:
  clusterConfig:
    vectorAggregatorConfigMapName: vector-aggregator-discovery
  webservers:
    config:
      logging:
        enableVectorAgent: true
        containers:
          airflow:
            loggers:
              "flask_appbuilder":
                level: WARN
  celeryExecutors:
    config:
      logging:
        enableVectorAgent: true
        containers:
          airflow:
            loggers:
              "airflow.processor":
                level: INFO
              "airflow.task":
                level: DEBUG
  schedulers:
    config:
      logging:
        enableVectorAgent: true
        containers:
          airflow:
            loggers:
              "airflow.processor_manager":
                level: INFO

Further information on how to configure logging, can be found in concepts:logging.adoc.