summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2017-01-04 15:58:55 +0000
committerRichard Hughes <richard@hughsie.com>2017-01-04 15:58:55 +0000
commita8472f7e82f6a4b862e638c3573f287a45088c49 (patch)
tree3d11ff8a087f319626cccb22389ab629427b04c2
parent30a12dfefeeaad03f5cafc0179b7378f8678297d (diff)
downloadappstream-glib-a8472f7e82f6a4b862e638c3573f287a45088c49.tar.gz
trivial: Write debug statements into the logs
-rw-r--r--libappstream-builder/asb-package.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libappstream-builder/asb-package.c b/libappstream-builder/asb-package.c
index 8763fd5..c2cbf1b 100644
--- a/libappstream-builder/asb-package.c
+++ b/libappstream-builder/asb-package.c
@@ -208,8 +208,7 @@ asb_package_log (AsbPackage *pkg,
break;
case ASB_PACKAGE_LOG_LEVEL_DEBUG:
g_debug ("DEBUG: %s", tmp);
- if (g_getenv ("ASB_PROFILE") != NULL)
- g_string_append_printf (priv->log, "DEBUG: %s\n", tmp);
+ g_string_append_printf (priv->log, "DEBUG: %s\n", tmp);
break;
case ASB_PACKAGE_LOG_LEVEL_WARNING:
g_debug ("WARNING: %s", tmp);