summaryrefslogtreecommitdiff
path: root/src/providers
diff options
context:
space:
mode:
authorMichal Zidek <mzidek@redhat.com>2012-10-15 15:24:15 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-10-29 17:15:37 +0100
commit9e2c64c6d4f5560e27207193efea6536a566865e (patch)
tree506ae170ee255081ebfa76ad25bc7a136b47914c /src/providers
parent644db36ab1111b88abca57d2438b72d618403dde (diff)
downloadsssd-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.c3
-rw-r--r--src/providers/krb5/krb5_child.c2
-rw-r--r--src/providers/ldap/ldap_child.c2
-rw-r--r--src/providers/proxy/proxy_child.c2
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);