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

Update server log messages to include specific addresses #2521

Closed

Conversation

SmartManoj
Copy link

@SmartManoj SmartManoj commented Nov 24, 2024

Update server log messages to display specific addresses.

  • Add get_interface_ip function to retrieve the IP address of an external interface.
  • Update _log_started_message method to include following messages when host is 0.0.0.0
Running on http://127.0.0.1:8080
Running on http://192.168.1.10:8080

For more details, open the Copilot Workspace session.


Failed due to 100% test coverage.

Update server log messages to display specific addresses.

* Add `get_interface_ip` function to retrieve the IP address of an external interface.
* Update `_log_started_message` method to include log messages for 'Running on all addresses (0.0.0.0)', 'Running on http://127.0.0.1:8080', and 'Running on http://192.168.1.10:8080'.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/encode/uvicorn?shareId=XXXX-XXXX-XXXX-XXXX).
@Kludex
Copy link
Member

Kludex commented Feb 12, 2025

What's the use-case here? Please create a discussion first.

@Kludex Kludex closed this Feb 12, 2025
@SmartManoj
Copy link
Author

pallets/werkzeug#2010

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.

2 participants