diff options
author | Pavel Březina <pbrezina@redhat.com> | 2011-08-09 13:01:05 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-08-25 15:46:11 -0400 |
commit | 99dd40a885ed3d42af4bbbde7ee2fc98830544d0 (patch) | |
tree | 52cbd2a20ff339f751a6f08a1af78ace5563a924 /src/responder | |
parent | 267bdd44fc55e064412177b7a67c7a047c912177 (diff) | |
download | sssd-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.c | 2 | ||||
-rw-r--r-- | src/responder/pam/pamsrv.c | 2 |
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"; |