summaryrefslogtreecommitdiffstats
path: root/src/responder
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2011-08-09 13:01:05 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-08-25 15:46:11 -0400
commit99dd40a885ed3d42af4bbbde7ee2fc98830544d0 (patch)
tree52cbd2a20ff339f751a6f08a1af78ace5563a924 /src/responder
parent267bdd44fc55e064412177b7a67c7a047c912177 (diff)
downloadsssd-99dd40a885ed3d42af4bbbde7ee2fc98830544d0.tar.gz
sssd-99dd40a885ed3d42af4bbbde7ee2fc98830544d0.tar.xz
sssd-99dd40a885ed3d42af4bbbde7ee2fc98830544d0.zip
New DEBUG facility - conversion
https://fedorahosted.org/sssd/ticket/925 Conversion of the old debug_level format to the new one. (only where it was necessary) Removed: SSS_DEFAULT_DEBUG_LEVEL (completely replaced with SSSDBG_DEFAULT)
Diffstat (limited to 'src/responder')
-rw-r--r--src/responder/nss/nsssrv.c2
-rw-r--r--src/responder/pam/pamsrv.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/responder/nss/nsssrv.c b/src/responder/nss/nsssrv.c
index 8fe53a8bb..7f60b7327 100644
--- a/src/responder/nss/nsssrv.c
+++ b/src/responder/nss/nsssrv.c
@@ -353,6 +353,8 @@ int main(int argc, const char *argv[])
poptFreeContext(pc);
+ debug_level = debug_convert_old_level(debug_level);
+
/* set up things like debug, signals, daemonization, etc... */
debug_log_file = "sssd_nss";
diff --git a/src/responder/pam/pamsrv.c b/src/responder/pam/pamsrv.c
index 86283eaec..2308288d5 100644
--- a/src/responder/pam/pamsrv.c
+++ b/src/responder/pam/pamsrv.c
@@ -209,6 +209,8 @@ int main(int argc, const char *argv[])
poptFreeContext(pc);
+ debug_level = debug_convert_old_level(debug_level);
+
/* set up things like debug, signals, daemonization, etc... */
debug_log_file = "sssd_pam";