> 1. Can we omit openlog/closelog? Manpage sais that them are I don't think this is a good idea, as syslog() would use __progname by default, and, for SUID applications that use PAM, this is under the control of the user running them. > both optional. Also consider: > syslog(pri|LOG_AUTH, "%s: %s", stack, msg); > ^^^^^^^^^^ Yes, that can work, but wouldn't let us set the ident as well. Signed, Solar Designer