Date: Wed, 14 Jun 2000 13:49:58 +1000 From: Peter.Weber@ipaustralia.gov.au To: freebsd-questions@FreeBSD.ORG Subject: A question regarding Syslog Message-ID: <4A2568FE.00150E92.00@noteshub01.aipo.gov.au>
next in thread | raw e-mail | index | archive | help
To: freebsd-questions@FreeBSD.ORG cc: When the syslog.conf file specifies that a message be written to a log file and that log file does not exist it appears the message is simply lost. A solution could be to write code into the program (mine that is, not syslog) to check for the log files existence. The problem here is that if someone decided to move the location of the log file in syslog.conf then the program would need to be recompiled, provided of course they knew the program required recompiling. Another solution could be to search the syslog.conf file for the appropriate selector and then read the log file path so that its existence can be checked. This seems a bit messy and a large overhead to include in the program. Has anyone experienced this problem before and or have a solution? Regards, Peter Weber peter.weber@ipaustralia.gov.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A2568FE.00150E92.00>