Skip to content

Commit 16c66ad

Browse files
committed
set INFO as default for airflow.task logging
1 parent c805f72 commit 16c66ad

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

rust/operator-binary/src/product_logging.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ for logger_name, logger_config in LOGGING_CONFIG['loggers'].items():
114114
# otherwise DAGs cannot be loaded anymore.
115115
if logger_name != 'airflow.task':
116116
logger_config['propagate'] = True
117+
# Adopting to airflows logging standards
118+
if logger_name == 'airflow.task':
119+
logger_config['level'] = logging.INFO
117120
118121
LOGGING_CONFIG.setdefault('formatters', {{}})
119122
LOGGING_CONFIG['formatters']['json'] = {{

0 commit comments

Comments
 (0)