diff options
author | Michal Zidek <mzidek@redhat.com> | 2012-10-15 15:24:15 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-10-29 17:15:37 +0100 |
commit | 9e2c64c6d4f5560e27207193efea6536a566865e (patch) | |
tree | 506ae170ee255081ebfa76ad25bc7a136b47914c /src/providers | |
parent | 644db36ab1111b88abca57d2438b72d618403dde (diff) | |
download | sssd-9e2c64c6d4f5560e27207193efea6536a566865e.tar.gz sssd-9e2c64c6d4f5560e27207193efea6536a566865e.tar.bz2 sssd-9e2c64c6d4f5560e27207193efea6536a566865e.zip |
Include talloc log in our debug facility
https://fedorahosted.org/sssd/ticket/1495
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/data_provider_be.c | 3 | ||||
-rw-r--r-- | src/providers/krb5/krb5_child.c | 2 | ||||
-rw-r--r-- | src/providers/ldap/ldap_child.c | 2 | ||||
-rw-r--r-- | src/providers/proxy/proxy_child.c | 2 |
4 files changed, 4 insertions, 5 deletions
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); |