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

feat: log all available addresses if listening host is 0.0.0.0 #5476

Merged
merged 5 commits into from
May 21, 2024

Conversation

mcollina
Copy link
Member

One of the few problems users have with listening to 0.0.0.0 manually is that they see 0.0.0.0 in their logs.

I'm converting it to all interfaces 0.0.0.0 correspond to.

Checklist

Signed-off-by: Matteo Collina <hello@matteocollina.com>
Signed-off-by: Matteo Collina <hello@matteocollina.com>
@mcollina mcollina requested a review from jsumners May 20, 2024 12:55
@mcollina mcollina changed the title Log all available addresses if listening host is 0.0.0.0 feat: log all available addresses if listening host is 0.0.0.0 May 20, 2024
Signed-off-by: Matteo Collina <hello@matteocollina.com>
Copy link
Member

@jsumners jsumners left a comment

Choose a reason for hiding this comment

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

This will be a great DX improvement.

fastify.js Outdated Show resolved Hide resolved
lib/server.js Outdated Show resolved Hide resolved
Co-authored-by: James Sumners <321201+jsumners@users.noreply.github.com>
Signed-off-by: Matteo Collina <matteo.collina@gmail.com>
@mcollina
Copy link
Member Author

Is this backportable to v4?

@jsumners
Copy link
Member

Seems plausible and reasonable to me.

@gurgunday
Copy link
Member

Coverage is failing

Signed-off-by: Matteo Collina <hello@matteocollina.com>
@mcollina
Copy link
Member Author

PTAL

@mcollina
Copy link
Member Author

Does anybody has a clue on:

Screenshot 2024-05-21 at 19 01 49

@gurgunday
Copy link
Member

Why not just squash and merge?

Screenshot 2024-05-21 at 19 45 00

@mcollina
Copy link
Member Author

Because GitHub had an outage.

@mcollina mcollina merged commit 9ac27e0 into main May 21, 2024
36 checks passed
@mcollina mcollina deleted the addresses branch May 21, 2024 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants