From 4fc08e84da96153174e3ddf10db8567ca61e0b34 Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Wed, 1 Feb 2023 10:19:51 +0100 Subject: [PATCH] Make serving address more visible in console --- lib/galaxy/web_stack/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/galaxy/web_stack/__init__.py b/lib/galaxy/web_stack/__init__.py index 67319805fc3..3e99ade8379 100644 --- a/lib/galaxy/web_stack/__init__.py +++ b/lib/galaxy/web_stack/__init__.py @@ -229,7 +229,8 @@ class GunicornApplicationStack(ApplicationStack): def log_startup(self): msg = [f"Galaxy server instance '{self.config.server_name}' is running"] if "GUNICORN_LISTENERS" in os.environ: - msg.append(f'serving on {os.environ["GUNICORN_LISTENERS"]}') + message = f'\nServing on {os.environ["GUNICORN_LISTENERS"]}\n' + msg.append(f"\033[92m{message}\033[0m") # Highlight in green log.info("\n".join(msg))