From c96a9d08d11eb92b56baa08e1a9547990184b452 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 7 Dec 2010 17:01:00 +0200 Subject: Fix logging for obex-client Since obex-client and obexd share the same log code they both were using obexd for openlog which makes it very confusing when reading the logs. To fix this now __obex_log_init takes the binary name so that each daemon can be properly labeled. --- client/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/main.c b/client/main.c index 74db15e..20d56d2 100644 --- a/client/main.c +++ b/client/main.c @@ -613,7 +613,7 @@ int main(int argc, char *argv[]) event_loop = g_main_loop_new(NULL, FALSE); - __obex_log_init(option_debug, !option_stderr); + __obex_log_init("obex-client", option_debug, !option_stderr); DBG("Entering main loop"); -- cgit v1.2.1