Skip to content

Commit

Permalink
Move interleave_timestamp_parser config to section logging (#31102)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstandish authored May 6, 2023
1 parent 9a23b15 commit 94c24a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions airflow/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ class AirflowConfigParser(ConfigParser):
# DeprecationWarning will be issued and the old option will be used instead
deprecated_options: dict[tuple[str, str], tuple[str, str, str]] = {
("celery", "worker_precheck"): ("core", "worker_precheck", "2.0.0"),
("logging", "interleave_timestamp_parser"): ("core", "interleave_timestamp_parser", "2.6.1"),
("logging", "base_log_folder"): ("core", "base_log_folder", "2.0.0"),
("logging", "remote_logging"): ("core", "remote_logging", "2.0.0"),
("logging", "remote_log_conn_id"): ("core", "remote_log_conn_id", "2.0.0"),
Expand Down
2 changes: 1 addition & 1 deletion airflow/utils/log/file_task_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def _fetch_logs_from_service(url, log_relative_path):
return response


_parse_timestamp = conf.getimport("core", "interleave_timestamp_parser", fallback=None)
_parse_timestamp = conf.getimport("logging", "interleave_timestamp_parser", fallback=None)

if not _parse_timestamp:

Expand Down

0 comments on commit 94c24a1

Please sign in to comment.