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/tools | |
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/tools')
-rw-r--r-- | src/tools/sss_cache.c | 2 | ||||
-rw-r--r-- | src/tools/sss_debuglevel.c | 2 | ||||
-rw-r--r-- | src/tools/sss_groupadd.c | 2 | ||||
-rw-r--r-- | src/tools/sss_groupdel.c | 2 | ||||
-rw-r--r-- | src/tools/sss_groupmod.c | 2 | ||||
-rw-r--r-- | src/tools/sss_groupshow.c | 2 | ||||
-rw-r--r-- | src/tools/sss_seed.c | 2 | ||||
-rw-r--r-- | src/tools/sss_useradd.c | 2 | ||||
-rw-r--r-- | src/tools/sss_userdel.c | 2 | ||||
-rw-r--r-- | src/tools/sss_usermod.c | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/src/tools/sss_cache.c b/src/tools/sss_cache.c index 73d99651..9b91f982 100644 --- a/src/tools/sss_cache.c +++ b/src/tools/sss_cache.c @@ -414,7 +414,7 @@ errno_t init_context(int argc, const char *argv[], struct cache_tool_ctx **tctx) ret, fini); } - debug_level = debug_convert_old_level(debug); + DEBUG_INIT(debug); debug_prg_name = argv[0]; CHECK_ROOT(ret, debug_prg_name); diff --git a/src/tools/sss_debuglevel.c b/src/tools/sss_debuglevel.c index 72701386..e955ec38 100644 --- a/src/tools/sss_debuglevel.c +++ b/src/tools/sss_debuglevel.c @@ -88,7 +88,7 @@ int main(int argc, const char **argv) goto fini; } } - debug_level = debug_convert_old_level(pc_debug); + DEBUG_INIT(pc_debug); /* get debug level */ debug_as_string = poptGetArg(pc); diff --git a/src/tools/sss_groupadd.c b/src/tools/sss_groupadd.c index 2a01f392..5667e9aa 100644 --- a/src/tools/sss_groupadd.c +++ b/src/tools/sss_groupadd.c @@ -67,7 +67,7 @@ int main(int argc, const char **argv) BAD_POPT_PARAMS(pc, poptStrerror(ret), ret, fini); } - debug_level = debug_convert_old_level(pc_debug); + DEBUG_INIT(pc_debug); /* groupname is an argument, not option */ pc_groupname = poptGetArg(pc); diff --git a/src/tools/sss_groupdel.c b/src/tools/sss_groupdel.c index 70030cab..57c3e700 100644 --- a/src/tools/sss_groupdel.c +++ b/src/tools/sss_groupdel.c @@ -61,7 +61,7 @@ int main(int argc, const char **argv) BAD_POPT_PARAMS(pc, poptStrerror(ret), ret, fini); } - debug_level = debug_convert_old_level(pc_debug); + DEBUG_INIT(pc_debug); pc_groupname = poptGetArg(pc); if (pc_groupname == NULL) { diff --git a/src/tools/sss_groupmod.c b/src/tools/sss_groupmod.c index c210bad7..1d80c592 100644 --- a/src/tools/sss_groupmod.c +++ b/src/tools/sss_groupmod.c @@ -100,7 +100,7 @@ int main(int argc, const char **argv) BAD_POPT_PARAMS(pc, _("Specify group to modify\n"), ret, fini); } - debug_level = debug_convert_old_level(pc_debug); + DEBUG_INIT(pc_debug); CHECK_ROOT(ret, debug_prg_name); diff --git a/src/tools/sss_groupshow.c b/src/tools/sss_groupshow.c index 2ba495c1..7ba1db13 100644 --- a/src/tools/sss_groupshow.c +++ b/src/tools/sss_groupshow.c @@ -675,7 +675,7 @@ int main(int argc, const char **argv) } } - debug_level = debug_convert_old_level(pc_debug); + DEBUG_INIT(pc_debug); if (ret != -1) { BAD_POPT_PARAMS(pc, poptStrerror(ret), ret, fini); diff --git a/src/tools/sss_seed.c b/src/tools/sss_seed.c index 18d0b9d0..cd1b2638 100644 --- a/src/tools/sss_seed.c +++ b/src/tools/sss_seed.c @@ -521,7 +521,7 @@ static int seed_init(TALLOC_CTX *mem_ctx, BAD_POPT_PARAMS(pc, poptStrerror(ret), ret, fini); } - debug_level = debug_convert_old_level(pc_debug); + DEBUG_INIT(pc_debug); CHECK_ROOT(ret, argv[0]); diff --git a/src/tools/sss_useradd.c b/src/tools/sss_useradd.c index 1bf174c5..ef594aed 100644 --- a/src/tools/sss_useradd.c +++ b/src/tools/sss_useradd.c @@ -98,7 +98,7 @@ int main(int argc, const char **argv) } } - debug_level = debug_convert_old_level(pc_debug); + DEBUG_INIT(pc_debug); if (ret != -1) { BAD_POPT_PARAMS(pc, poptStrerror(ret), ret, fini); diff --git a/src/tools/sss_userdel.c b/src/tools/sss_userdel.c index 0d1c63e4..5d250f6c 100644 --- a/src/tools/sss_userdel.c +++ b/src/tools/sss_userdel.c @@ -173,7 +173,7 @@ int main(int argc, const char **argv) } } - debug_level = debug_convert_old_level(pc_debug); + DEBUG_INIT(pc_debug); if (ret != -1) { BAD_POPT_PARAMS(pc, poptStrerror(ret), ret, fini); diff --git a/src/tools/sss_usermod.c b/src/tools/sss_usermod.c index a45005ca..f6730368 100644 --- a/src/tools/sss_usermod.c +++ b/src/tools/sss_usermod.c @@ -111,7 +111,7 @@ int main(int argc, const char **argv) BAD_POPT_PARAMS(pc, poptStrerror(ret), ret, fini); } - debug_level = debug_convert_old_level(pc_debug); + DEBUG_INIT(pc_debug); /* username is an argument without --option */ pc_username = poptGetArg(pc); |