[gnome-builder] subprocess: more descriptive tracing info



commit ec68d9a0179076c2c7c97b47dfabd23e29d89c16
Author: Christian Hergert <chergert redhat com>
Date:   Wed Sep 14 01:07:47 2016 -0700

    subprocess: more descriptive tracing info

 libide/subprocess/ide-subprocess-launcher.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libide/subprocess/ide-subprocess-launcher.c b/libide/subprocess/ide-subprocess-launcher.c
index 98173bb..78dc2e3 100644
--- a/libide/subprocess/ide-subprocess-launcher.c
+++ b/libide/subprocess/ide-subprocess-launcher.c
@@ -178,7 +178,8 @@ ide_subprocess_launcher_spawn_host_worker (GTask        *task,
     g_autofree gchar *env = NULL;
     str = g_strjoinv (" ", (gchar **)priv->argv->pdata);
     env = g_strjoinv (" ", (gchar **)priv->environ->pdata);
-    IDE_TRACE_MSG ("Launching '%s' with environment %s", str, env);
+    IDE_TRACE_MSG ("Launching '%s' with environment %s %s parent environment",
+                   str, env, priv->clear_env ? "clearing" : "inheriting");
   }
 #endif
 
@@ -233,7 +234,8 @@ ide_subprocess_launcher_spawn_worker (GTask        *task,
     g_autofree gchar *env = NULL;
     str = g_strjoinv (" ", (gchar **)priv->argv->pdata);
     env = g_strjoinv (" ", (gchar **)priv->environ->pdata);
-    IDE_TRACE_MSG ("Launching '%s' with environment %s", str, env);
+    IDE_TRACE_MSG ("Launching '%s' with environment %s %s parent environment",
+                   str, env, priv->clear_env ? "clearing" : "inheriting");
   }
 #endif
 


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