Thank you, I ended up sending directly to the loghost as you suggested.
--Ed
Show quoted text-----Original Message-----
From: Sébastien Aperghis-Tramoni via RT [mailto:bug-Sys-Syslog@rt.cpan.org]
Sent: Wednesday, January 18, 2006 9:04 PM
To: Schernau, Ed
Subject: Re: [rt.cpan.org #17136] module is putting numerical facility priority in brackets in syslog on Solaris
> This produces the line:
> <38>test: this is a test
>
> in Solaris 8 syslog. This machine is configured to send auth.info
> over the wire to loghost, but that is not being sent. Its as if the
> facility/priority aren't being inserted properly. This is perl 5.8.0
> from sunfreeware.com
I can't reproduce this on Linux with sysklogd. I'll ask some Perl5
Porters who have experience with Solaris if they can reproduce this,
but AFAICT the line you see is a valid RFC 3164, so my first guess
would be that your syslog daemon has a problem.
Or, if you mean that you don't have a syslog daemon on the host and
expects the Perl program to send it to the remote loghost, you may
need to call setlogsock() with an appropriate argument, for example
setlogsock('udp').
--
Sébastien Aperghis-Tramoni
Close the world, txEn eht nepO.
-----------------------------------------
Use of email is inherently insecure. Confidential information,
including account information, and personally identifiable information,
should not be transmitted via email, or email attachment. In no event
shall Citizens or any of its affiliates accept any responsibility for
the loss, use or misuse of any information including confidential
information, which is sent to Citizens or its affiliates via email, or
email attachment. Citizens does not guarantee the accuracy of any email
or email attachment, that an email will be received by Citizens or that
Citizens will respond to any email.
This email message is confidential and/or privileged. It is to be used
by the intended recipient only. Use of the information contained in
this email by anyone other than the intended recipient is strictly
prohibited. If you have received this message in error, please notify
the sender immediately and promptly destroy any record of this email.