GitHub user ijaniszewski edited a comment on the discussion: Airflow Azure 
Remote Logging Configuration

You can add connection ID to `values.yaml`, havent tried with secrets. Then, 
values file should include:

```
config:
  logging:
    remote_logging: "True"
    # WASB buckets should start with wasb just to help Airflow select correct 
handler
    # 
https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#remote-base-log-folder
    remote_base_log_folder: "wasb_staging" # folder on container, if not exists 
will be created. HAVE TO START WITH `wasb`
    remote_log_conn_id: "conn_id" # connection ID

  azure_remote_logging:
    remote_wasb_log_container: "airflow-logs" # azure storage container
```

or do it via env:
```
env:
  - name: AIRFLOW__LOGGING__REMOTE_LOGGING
    value: "True"
  - name: AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER
    value: 'wasb_staging' 
  - name: AIRFLOW__LOGGING__REMOTE_LOG_CONN_ID
    value: "conn_id"
  - name: AIRFLOW__AZURE_REMOTE_LOGGING__REMOTE_WASB_LOG_CONTAINER
    value:  "airflow-logs"
```




GitHub link: 
https://github.com/apache/airflow/discussions/26056#discussioncomment-12008886

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to