From: Sebastien Tricaud Date: Thu, 31 Mar 2005 00:31:57 +0000 (+0000) Subject: Improved log facilities X-Git-Tag: Linux-PAM-0-79~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4c1566ac6be7d0a53087f2395d23c14d1f9a5f4;p=linux-pam Improved log facilities --- diff --git a/libpam/pam_prelude.c b/libpam/pam_prelude.c index baac9d7b..656376f5 100644 --- a/libpam/pam_prelude.c +++ b/libpam/pam_prelude.c @@ -11,6 +11,7 @@ #ifdef PRELUDE #include +#include #include #include "pam_prelude.h" @@ -262,6 +263,8 @@ prelude_send_alert(pam_handle_t *pamh, int authval) int ret; + prelude_log_set_flags(PRELUDE_LOG_FLAGS_SYSLOG); + ret = pam_alert_prelude_init(pamh, authval); if ( ret < 0 ) _pam_log(LOG_WARNING,