Skip to content

Conversation

@dstandish
Copy link
Contributor

2 small logging "fixes"

  1. usually tenacity retry will not be invoked. No need to add confusing log messages when there's not actually a retry.
  2. When log read is interrupted and pod still running, something exceptional has happened. Let's just include the traceback rather than forcing user to enable debug logging.

@boring-cyborg boring-cyborg bot added area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues labels Nov 3, 2023
2 small logging "fixes"

1. usually tenacity retry will not be invoked.  No need to add confusing log messages when there's not actually a retry.
2. When log read is interrupted and pod still running, something exceptional has happened. Let's just include the traceback
rather than forcing user to enable debug logging.
@dstandish dstandish force-pushed the small-logging-improvements-kpo branch from 319ed4b to a1faaa1 Compare November 3, 2023 21:37
Copy link
Member

@hussein-awala hussein-awala left a comment

Choose a reason for hiding this comment

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

I agree with your 2 points

@dstandish dstandish merged commit 2023a76 into apache:main Nov 4, 2023
@dstandish dstandish deleted the small-logging-improvements-kpo branch November 4, 2023 01:55
romsharon98 pushed a commit to romsharon98/airflow that referenced this pull request Nov 10, 2023
…ache#35423)

2 small logging "fixes"

1. usually tenacity retry will not be invoked.  No need to add confusing log messages when there's not actually a retry.
2. When log read is interrupted and pod still running, something exceptional has happened. Let's just include the traceback
rather than forcing user to enable debug logging.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants