Through oversight, the PAM_LOG_LIBDEBUG case was left out in the
version of openpam_log() that's actually used. Internal debugging messages therefore went to the default case and were logged as errors, spamming /var/log/messages and the console. git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@544 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
parent
e29b3b276f
commit
d619fcb520
|
@ -103,6 +103,7 @@ _openpam_log(int level, const char *func, const char *fmt, ...)
|
|||
int serrno;
|
||||
|
||||
switch (level) {
|
||||
case PAM_LOG_LIBDEBUG:
|
||||
case PAM_LOG_DEBUG:
|
||||
if (!openpam_debug)
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue