[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: logging from PAM modules



On Thu, Aug 31, 2000 at 10:02:12PM +0400, Michael Tokarev wrote:
> Ok, 3 questions.
>  1.  Can we omit openlog/closelog?  Manpage sais that them are
>      both optional.  Also consider:
>         syslog(pri|LOG_AUTH, "%s: %s", stack, msg);
>                   ^^^^^^^^^^

Don't do that.  LOG_AUTH is a facility, not a logging level.

Nalin





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []