diff --git a/src/lightning_app/CHANGELOG.md b/src/lightning_app/CHANGELOG.md index fbddc4210a869..2fc3a77d651cf 100644 --- a/src/lightning_app/CHANGELOG.md +++ b/src/lightning_app/CHANGELOG.md @@ -28,6 +28,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). ### Fixed +- Fixed `PythonServer` messaging "Your app has started" ([#15989](https://github.com/Lightning-AI/lightning/pull/15989)) + + - Fixed `AutoScaler` raising an exception when non-default cloud compute is specified ([#15991](https://github.com/Lightning-AI/lightning/pull/15991)) diff --git a/src/lightning_app/components/serve/python_server.py b/src/lightning_app/components/serve/python_server.py index 40b7e83a3bdca..78d4961e7808c 100644 --- a/src/lightning_app/components/serve/python_server.py +++ b/src/lightning_app/components/serve/python_server.py @@ -225,5 +225,7 @@ def run(self, *args: Any, **kwargs: Any) -> Any: fastapi_app = FastAPI() self._attach_predict_fn(fastapi_app) - logger.info(f"Your app has started. View it in your browser: http://{self.host}:{self.port}") + logger.info( + f"Your {self.__class__.__qualname__} has started. View it in your browser: http://{self.host}:{self.port}" + ) uvicorn.run(app=fastapi_app, host=self.host, port=self.port, log_level="error")