syslog

From: Doug Hardie <bc979_at_lafn.org>
Date: Wed, 05 Apr 2023 10:39:33 UTC
I am writing a program that I would like to log some messages with LOG_DEBUG, and others with LOG_INFO and LOG_MAIL.  I have tried openlog before each of them with the right facilities and levels, but some of the messages are simply dropped.  It appears to change between invocations weather the debug or mail messages are dropped.  Is there a way to do this?

-- Doug