[Omaha.pm] How can I log to metalog from Perl?
Mike Hostetler
hostetlerm at gmail.com
Wed Sep 15 13:51:18 CDT 2004
On Wed, 15 Sep 2004 13:24:35 -0500, Jay Hannah <jhannah at omnihotels.com> wrote:
>
> Hola --
>
> I'm trying to log to metalog from Perl w/o forking a call to "logger". (I'm worried about
> performance since my app will be high volume).
That is a good thing . . . Sys::Syslog is a wonderful.
>
> I use this program:
>
[snip]
>
> And, in a syslogd log, I see this:
>
> Sep 15 10:34:25 king ProgramX: Test 1
> Sep 15 10:34:25 king ProgramX: What?: Test 2
>
> Which is great. In a metalog log, I see this:
>
> ProgramX: [What?] Test 2_
I got the same thing . . .
A google brought me to this thread:
http://www.mail-archive.com/beginners@perl.org/msg50054.html
Upgrading Metalog to the latest my Gentoo box has (0.8_pre20031130)
showed the same thing.
>From the thread I linked to above, they seem to say that Unix::Syslog
works better with metalog. I haven't tried it at all.
Methinks that metalog is broken somehow.
My $0.02 . . .
--
Mike Hostetler
thehaas at binary.net
http://www.binary.net/thehaas
More information about the Omaha-pm
mailing list