This is an automated email from the ASF dual-hosted git repository.

gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 356107f  clarify what run-mode is being used.
356107f is described below

commit 356107fa575207a0ea1a5f5c2a1163141f5e6a15
Author: Greg Stein <[email protected]>
AuthorDate: Sun Feb 22 23:29:47 2026 -0600

    clarify what run-mode is being used.
---
 v3/server/main.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/v3/server/main.py b/v3/server/main.py
index b8c0239..5886caa 100755
--- a/v3/server/main.py
+++ b/v3/server/main.py
@@ -68,6 +68,8 @@ def run_standalone():
     ### other way to approach: what in asyncio do we need to observe?
     logging.getLogger('asyncio').setLevel(logging.INFO)
 
+    _LOGGER.info(' ** Run-mode: Standalone')
+
     # Set up the STeVe app, then we'll start it up.
     app = create_app()
 
@@ -112,7 +114,7 @@ def run_asgi():
 
     # Okay. Time to be a Hypercorn-based ASGI app.
 
-    _LOGGER.info('we must be an ASGI app!')
+    _LOGGER.info(' ** Run-mode: ASGI')
 
     global steve_app
     steve_app = create_app()

Reply via email to