Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing space to log message in task completion logs #11934

Merged
merged 1 commit into from
Oct 29, 2020

Conversation

ashb
Copy link
Member

@ashb ashb commented Oct 29, 2020

Previously it looked like this

INFO - Marking task as SUCCESS.dag_id=scenario1_case1_1_1, ...

Now it looks like

INFO - Marking task as SUCCESS. dag_id=scenario1_case1_1_1, ...

^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

@ashb ashb requested a review from kaxil October 29, 2020 10:06
@github-actions
Copy link

The PR needs to run all tests because it modifies core of Airflow! Please rebase it to latest master or ask committer to re-run it!

@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Oct 29, 2020
@ashb ashb force-pushed the task-success-log-typo branch 2 times, most recently from e112289 to d16994f Compare October 29, 2020 13:03
@@ -1087,7 +1087,7 @@ def _run_raw_task(
self.refresh_from_db(lock_for_update=True)
self.state = State.SKIPPED
self.log.info(
'Marking task as SKIPPED.'
'Marking task as SKIPPED. '
'dag_id=%s, task_id=%s, execution_date=%s, start_date=%s, end_date=%s',
Copy link
Member

@turbaszek turbaszek Oct 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'dag_id=%s, task_id=%s, execution_date=%s, start_date=%s, end_date=%s',
'(dag_id=%s, task_id=%s, execution_date=%s, start_date=%s, end_date=%s)',

Just an idea to make it more "structured" but definitely not a blocker

Previously it looked like this

    INFO - Marking task as SUCCESS.dag_id=scenario1_case1_1_1, ...

Now it looks like

    INFO - Marking task as SUCCESS. dag_id=scenario1_case1_1_1, ...
@ashb ashb merged commit d8e59aa into apache:master Oct 29, 2020
@ashb ashb deleted the task-success-log-typo branch October 29, 2020 23:24
michalmisiewicz pushed a commit to michalmisiewicz/airflow that referenced this pull request Oct 30, 2020
Previously it looked like this

    INFO - Marking task as SUCCESS.dag_id=scenario1_case1_1_1, ...

Now it looks like

    INFO - Marking task as SUCCESS. dag_id=scenario1_case1_1_1, ...
szn pushed a commit to szn/airflow that referenced this pull request Nov 1, 2020
Previously it looked like this

    INFO - Marking task as SUCCESS.dag_id=scenario1_case1_1_1, ...

Now it looks like

    INFO - Marking task as SUCCESS. dag_id=scenario1_case1_1_1, ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full tests needed We need to run full set of tests for this PR to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants