[Mimedefang] Re: syslog: invalid level/facility

Dave O'Neill dmo at roaringpenguin.com
Tue Feb 8 11:33:38 EST 2005

Tim Boyer wrote:

> Hmm.  Absolutely correct.  But I wonder why it's working on the 2.44
> system, and fails on the 2.49?

You said earlier that this was on a reinstall of your base OS, right? 
Is there a chance you were using the Unix::Syslog module on the old 
system, but are now using Sys::Syslog?  Unix::Syslog only understands 
the numeric syslog codes, so convert_log_facility_to_number() call does 
the conversion in the
   if ($Features{"Unix::Syslog"})
codepath.  It assumes that any log level it doesn't understand should be 
treated as '0'.  That code isn't applicable if you use Sys::Syslog, as 
it uses the textual descriptions directly and will error if it sees one 
it doesn't understand.

Dave O'Neill <dmo at roaringpenguin.com>    Roaring Penguin Software Inc.
+1 (613) 231-6599 ext. 104               http://www.roaringpenguin.com/
For CanIt technical support, please mail: support at roaringpenguin.com

More information about the MIMEDefang mailing list