[gnome-builder/wip/chergert/pipeline-merge: 8/76] subprocess: use g_debug() for subprocess launching



commit cfe061dcc173b8c93b7a826da70589c1f1ca7e82
Author: Christian Hergert <chergert redhat com>
Date:   Fri Feb 3 12:17:21 2017 -0800

    subprocess: use g_debug() for subprocess launching
    
    This can be generally useful, not just during tracing.

 libide/subprocess/ide-subprocess-launcher.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libide/subprocess/ide-subprocess-launcher.c b/libide/subprocess/ide-subprocess-launcher.c
index c39c7ca..1e830ff 100644
--- a/libide/subprocess/ide-subprocess-launcher.c
+++ b/libide/subprocess/ide-subprocess-launcher.c
@@ -231,16 +231,16 @@ ide_subprocess_launcher_spawn_worker (GTask        *task,
 
   g_return_if_fail (IDE_IS_SUBPROCESS_LAUNCHER (self));
 
-#ifdef IDE_ENABLE_TRACE
   {
     g_autofree gchar *str = NULL;
     g_autofree gchar *env = NULL;
+
     str = g_strjoinv (" ", (gchar **)priv->argv->pdata);
     env = priv->environ ? g_strjoinv (" ", priv->environ) : g_strdup ("");
-    IDE_TRACE_MSG ("Launching '%s' from directory %s with environment %s %s parent environment",
-                   str, priv->cwd, env, priv->clear_env ? "clearing" : "inheriting");
+
+    g_debug ("Launching '%s' from directory '%s' with environment %s %s parent environment",
+             str, priv->cwd, env, priv->clear_env ? "clearing" : "inheriting");
   }
-#endif
 
   launcher = g_subprocess_launcher_new (priv->flags);
   g_subprocess_launcher_set_child_setup (launcher, child_setup_func, NULL, NULL);


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