From 9e2c64c6d4f5560e27207193efea6536a566865e Mon Sep 17 00:00:00 2001 From: Michal Zidek Date: Mon, 15 Oct 2012 15:24:15 +0200 Subject: Include talloc log in our debug facility https://fedorahosted.org/sssd/ticket/1495 --- src/providers/data_provider_be.c | 3 +-- src/providers/krb5/krb5_child.c | 2 +- src/providers/ldap/ldap_child.c | 2 +- src/providers/proxy/proxy_child.c | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) (limited to 'src/providers') diff --git a/src/providers/data_provider_be.c b/src/providers/data_provider_be.c index 4e4bdab2..0ac83f43 100644 --- a/src/providers/data_provider_be.c +++ b/src/providers/data_provider_be.c @@ -2388,8 +2388,7 @@ int main(int argc, const char *argv[]) poptFreeContext(pc); - CONVERT_AND_SET_DEBUG_LEVEL(debug_level); - + DEBUG_INIT(debug_level); /* set up things like debug , signals, daemonization, etc... */ debug_log_file = talloc_asprintf(NULL, "sssd_%s", be_domain); diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c index 3e64a865..e7776248 100644 --- a/src/providers/krb5/krb5_child.c +++ b/src/providers/krb5/krb5_child.c @@ -2078,7 +2078,7 @@ int main(int argc, const char *argv[]) poptFreeContext(pc); - CONVERT_AND_SET_DEBUG_LEVEL(debug_level); + DEBUG_INIT(debug_level); debug_prg_name = talloc_asprintf(NULL, "[sssd[krb5_child[%d]]]", getpid()); if (!debug_prg_name) { diff --git a/src/providers/ldap/ldap_child.c b/src/providers/ldap/ldap_child.c index f35d9467..9d82e7cf 100644 --- a/src/providers/ldap/ldap_child.c +++ b/src/providers/ldap/ldap_child.c @@ -458,7 +458,7 @@ int main(int argc, const char *argv[]) poptFreeContext(pc); - CONVERT_AND_SET_DEBUG_LEVEL(debug_level); + DEBUG_INIT(debug_level); debug_prg_name = talloc_asprintf(NULL, "[sssd[ldap_child[%d]]]", getpid()); if (!debug_prg_name) { diff --git a/src/providers/proxy/proxy_child.c b/src/providers/proxy/proxy_child.c index 8aa1d762..c575948a 100644 --- a/src/providers/proxy/proxy_child.c +++ b/src/providers/proxy/proxy_child.c @@ -510,7 +510,7 @@ int main(int argc, const char *argv[]) poptFreeContext(pc); - CONVERT_AND_SET_DEBUG_LEVEL(debug_level); + DEBUG_INIT(debug_level); /* set up things like debug , signals, daemonization, etc... */ debug_log_file = talloc_asprintf(NULL, "proxy_child_%s", domain); -- cgit