pam_syslog(3) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | STANDARDS | COLOPHON

PAM_SYSLOG(3)               Linux-PAM Manual               PAM_SYSLOG(3)

NAME         top

       pam_syslog, pam_vsyslog - send messages to the system logger

SYNOPSIS         top

       #include <syslog.h>

       #include <security/pam_ext.h>

       void pam_syslog(const pam_handle_t *pamh, int priority,
                       const char *fmt, ...);

       void pam_vsyslog(const pam_handle_t *pamh, int priority,
                        const char *fmt, va_list args);

DESCRIPTION         top

       The pam_syslog function logs messages using syslog(3) and is
       intended for internal use by Linux-PAM and PAM service modules.
       The priority argument is formed by ORing the facility and the
       level values as documented in the syslog(3) manual page.

       The pam_vsyslog function performs the same task as pam_syslog()
       with the difference that it takes a set of arguments which have
       been obtained using the stdarg(3) variable argument list macros.

SEE ALSO         top

       pam(8)

STANDARDS         top

       The pam_syslog and pam_vsyslog functions are Linux-PAM
       extensions.

COLOPHON         top

       This page is part of the linux-pam (Pluggable Authentication
       Modules for Linux) project.  Information about the project can be
       found at ⟨http://www.linux-pam.org/⟩.  If you have a bug report
       for this manual page, see ⟨//www.linux-pam.org/⟩.  This page was
       obtained from the project's upstream Git repository
       ⟨https://github.com/linux-pam/linux-pam.git⟩ on 2023-12-22.  (At
       that time, the date of the most recent commit that was found in
       the repository was 2023-12-18.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       [email protected]

Linux-PAM Manual               12/22/2023                  PAM_SYSLOG(3)