[gnome-builder] src: log version and abi string to console with -v



commit b0f1593fda1d2ec3a66b56bc64533998eabced93
Author: Christian Hergert <chergert redhat com>
Date:   Thu Apr 11 11:30:30 2019 -0700

    src: log version and abi string to console with -v

 src/main.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/main.c b/src/main.c
index cfe3710a8..a517b8e9d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -114,6 +114,10 @@ main (gint   argc,
   /* Extract options like -vvvv */
   early_params_check (&argc, &argv, &standalone, &type, &plugin, &dbus_address);
 
+  /* Log some info so it shows up in logs */
+  g_message ("GNOME Builder %s starting with ABI %s",
+             PACKAGE_VERSION, PACKAGE_ABI_S);
+
   /* Make sure $HOME is not a symlink, as that can cause issues with
    * various subsystems. Just warn super loud so that users find it
    * when trying to debug issues.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]