{
    "mode": "man",
    "parameter": "pam_syslog",
    "section": "3",
    "url": "https://www.chedong.com/phpMan.php/man/pam_syslog/3/json",
    "generated": "2026-06-15T13:36:46Z",
    "synopsis": "",
    "sections": {
        "NAME": {
            "content": "pamsyslog, pamvsyslog - send messages to the system logger\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "",
            "subsections": [
                {
                    "name": "#include <syslog.h>",
                    "content": "#include <security/pamext.h>\n\nvoid pamsyslog(const pamhandlet *pamh, int priority, const char *fmt, ...);\n\nvoid pamvsyslog(const pamhandlet *pamh, int priority, const char *fmt, valist args);\n"
                }
            ]
        },
        "DESCRIPTION": {
            "content": "The pamsyslog function logs messages using syslog(3) and is intended for internal use by\nLinux-PAM and PAM service modules. The priority argument is formed by ORing the facility and\nthe level values as documented in the syslog(3) manual page.\n\nThe pamvsyslog function performs the same task as pamsyslog() with the difference that it\ntakes a set of arguments which have been obtained using the stdarg(3) variable argument list\nmacros.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "pam(7)\n",
            "subsections": []
        },
        "STANDARDS": {
            "content": "The pamsyslog and pamvsyslog functions are Linux-PAM extensions.\n\n\n\nLinux-PAM Manual                             06/08/2020                                PAMSYSLOG(3)",
            "subsections": []
        }
    },
    "summary": "pamsyslog, pamvsyslog - send messages to the system logger",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "pam",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/pam/7/json"
        }
    ]
}