On Tuesday 25 November 2003 06:48 am, drieux wrote:
> On Monday, Nov 24, 2003, at 15:32 US/Pacific, Beau E. Cox wrote:
> [..]
>
> > I'm having trouble logging to syslog on my Linux (Sorcerer)
> > machine with perl 8.0.2 installed. This script logs nothing:
> >
> > #!/usr/bin/perl
> >
> > use strict;
> > use warnings;
> > use Sys::Syslog qw(:DEFAULT setlogsock);
> >
> > setlogsock('unix');
> > openlog($0, 'cons,pid', 'user');
> > syslog('err', 'test error msg');
> > closelog();
>
> [..]
>
> I know that you found a way around this with
> the Unix::Syslog code. But thought I would mention
> that this works fine on SuSe, running their v5.8.1
> just as is:
>
>       Nov 25 08:41:21 meatbop sys_log.plx[31368]: test error msg
>
> So there could be some 'issue' either with that version
> of perl on that version of the OS...
>
Hi drieux -

Long time no hear; I hope you are doing well.

I think it may have something to do with metalog 0.7 (???). That
seems to be the big difference here (although I must admit other
processes have no trouble logging).

I agree, there is an unresolved issue here - metalog, perl 5.8.2,
Sorcerer, etc., but I'm going to duck it for now so I can get this
project out the door (read $MONEY$). I'll keep a lookout for
other logging bug-a-boos in the meantime, and, hopefully get
back to a better analysis later. Larry and Tom, you guys wrote
Sys::Syslog many years ago, any ideas?

Aloha => Beau;


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to