You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e2ca9c9
Browse filesBrowse the repository at this point in the historyBrowse files
The comment now separates the two things: the airflow.task logger level can
already be overridden through the CRD, and the task handler level still cannot.
The TODO points at issue 650 and notes it needs a new field in
AutomaticContainerLogConfig in operator-rs.
Copy file name to clipboardExpand all lines: rust/operator-binary/src/controller/build/properties/product_logging/mod.rs
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -97,10 +97,16 @@ for logger_name, logger_config in LOGGING_CONFIG['loggers'].items():
97
97
if logger_name != 'airflow.task':
98
98
logger_config['propagate'] = True
99
99
# The default behavior of airflow is to enforce log level 'INFO' on tasks. (https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#logging-level)
100
-
# This can be overridden through the CRD by adding an entry for the logger
101
-
# name 'airflow.task' under loggers, since the code appended further below
102
-
# (loggers_config) runs after this block and reassigns the level for any
103
-
# logger explicitly listed in the CRD.
100
+
# The level of the airflow.task LOGGER can be overridden through the CRD by
101
+
# adding an entry for the logger name 'airflow.task' under loggers, since the
102
+
# code appended further below (loggers_config) runs after this block and
103
+
# reassigns the level for any logger explicitly listed in the CRD.
104
+
# TODO: Make the task HANDLER log level configurable through the CRD with
105
+
# default 'INFO', so that a different level can be sent to the UI than to the
106
+
# file and Vector appenders. This needs a new field in
0 commit comments