You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/10/28 18:18:16 UTC
[GitHub] [airflow] andreyvital commented on issue #27345: Duplicate log lines in CloudWatch after upgrade to 2.4.2
andreyvital commented on issue #27345:
URL: https://github.com/apache/airflow/issues/27345#issuecomment-1295314800
@potiuk I've made the changes as pointed by you and it worked! 🥳
**config/log_config.py**
```Python
from copy import deepcopy
from airflow.config_templates.airflow_local_settings import \
DEFAULT_LOGGING_CONFIG
LOGGING_CONFIG = deepcopy(DEFAULT_LOGGING_CONFIG)
LOGGING_CONFIG["loggers"]["airflow.task"]["propagate"] = False
```
**airflow.cfg**:
```
[logging]
logging_config_class = log_config.LOGGING_CONFIG
```
Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org