From 7954de0da6a8f41ea007656b8b9c4b35476c8fc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Wed, 4 Jul 2018 21:04:22 +0300 Subject: [PATCH] Always log commit ID There's no good reason to not include the commit ID in release build startup messages. --- server/core/gateway.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/server/core/gateway.cc b/server/core/gateway.cc index dc5e19a19..070432798 100644 --- a/server/core/gateway.cc +++ b/server/core/gateway.cc @@ -1990,12 +1990,9 @@ int main(int argc, char **argv) goto return_main; } - MXS_NOTICE("MariaDB MaxScale %s started", MAXSCALE_VERSION); + MXS_NOTICE("MariaDB MaxScale %s started (Commit: %s)", MAXSCALE_VERSION, MAXSCALE_COMMIT); MXS_NOTICE("MaxScale is running in process %i", getpid()); -#ifdef SS_DEBUG - MXS_NOTICE("Commit: %s", MAXSCALE_COMMIT); -#endif cleanup_old_process_datadirs(); if (!cnf->config_check) {