[evolution-ews] tests: Use the connection's log domain in the handler



commit 7bbc916a94f9efb21705dd0adb74e95a5f522700
Author: Fabiano Fidêncio <fidencio redhat com>
Date:   Wed Jan 15 02:03:04 2014 +0100

    tests: Use the connection's log domain in the handler

 tests/ews-test-common.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/ews-test-common.c b/tests/ews-test-common.c
index 43fea29..825560b 100644
--- a/tests/ews-test-common.c
+++ b/tests/ews-test-common.c
@@ -229,7 +229,7 @@ ews_test_init (gint argc,
        uhm_server_set_enable_online (mock_server, write_traces);
 
        /* Set handler of debug information */
-       g_log_set_handler (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, (GLogFunc) ews_test_debug_handler, mock_server);
+       g_log_set_handler ("libeews", G_LOG_LEVEL_DEBUG, ews_test_debug_handler, mock_server);
 
        if (number == 0)
                prepare_fake_data (&number, &fake_versions, &fake_hostnames, &fake_server_uris);


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