close
Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Emit more shutdown logging by default#1005

Merged
chriskuehl merged 2 commits into
developfrom
more-shutdown-logging
Oct 24, 2024
Merged

Emit more shutdown logging by default#1005
chriskuehl merged 2 commits into
developfrom
more-shutdown-logging

Conversation

@chriskuehl
Copy link
Copy Markdown
Member

By default we only print out INFO level logs, so we only get the final Exiting message and not the messages about draining or gracefully shutting down. This makes it hard to correlate errors around shutdown time with the server's shutdown sequence.

Promoting these to INFO logs is worth it IMO since errors around shutdown are a common problem.

@chriskuehl chriskuehl marked this pull request as ready for review October 23, 2024 16:09
@chriskuehl chriskuehl requested a review from a team as a code owner October 23, 2024 16:09
Copy link
Copy Markdown
Contributor

@mathyourlife-reddit mathyourlife-reddit left a comment

Choose a reason for hiding this comment

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

Sounds good. It's only a couple lines total (vs a per request line or something) and +1 to providing better visibility to how the server is handling shutdown.

Copy link
Copy Markdown

@mjbonifacio mjbonifacio left a comment

Choose a reason for hiding this comment

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

+1 great for visibility, excited to pick up these changes

@chriskuehl chriskuehl merged commit 4ee3050 into develop Oct 24, 2024
@chriskuehl chriskuehl deleted the more-shutdown-logging branch October 24, 2024 03:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants