diff options
author | Thomas Haller <thaller@redhat.com> | 2014-04-14 13:30:21 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-04-14 15:00:30 +0200 |
commit | 3f153c9098ee9b6e86f26580dffb63a936fc07b3 (patch) | |
tree | b93da281b18ebeb75c22dd90a96ed4a7e2272df3 | |
parent | 3ba48a40faeaabb5be911acc9edabc6ade41330d (diff) | |
download | NetworkManager-th/nm-logging-glib.tar.gz |
nmtst: redirect glib messages to nm-logging (if available)th/nm-logging-glib
Signed-off-by: Thomas Haller <thaller@redhat.com>
-rw-r--r-- | libnm-util/nm-test-utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libnm-util/nm-test-utils.h b/libnm-util/nm-test-utils.h index c3a96f94ac..e7501fc4eb 100644 --- a/libnm-util/nm-test-utils.h +++ b/libnm-util/nm-test-utils.h @@ -61,6 +61,7 @@ nmtst_init (int *argc, char ***argv, const char *log_level, const char *log_doma if (log_level || log_domains) { gboolean success = FALSE; #ifdef NM_LOGGING_H + nm_logging_set_glib_handler (); success = nm_logging_setup (log_level, log_domains, NULL, NULL); #endif g_assert (success); |