Re: Logger messages getting stuck in a buffer somewhere?
From: Karen Wieprecht (karen.wieprecht_at_jhuapl.edu)
Date: 01/24/05
- Previous message: Bill Marcum: "Re: What Is Better than ps (want program name etc)"
- In reply to: Barry Margolin: "Re: Logger messages getting stuck in a buffer somewhere?"
- Next in thread: Barry Margolin: "Re: Logger messages getting stuck in a buffer somewhere?"
- Reply: Barry Margolin: "Re: Logger messages getting stuck in a buffer somewhere?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 24 Jan 2005 15:32:36 -0500
Yes, using "logger" was one of several approaches I tried to get the
messages to come into the system log in a timely manner. I played with the
perl "use Sys::Syslog" stuff, but I couldn't get it working even with many
good examples. I didn't include that info here because I thought that
particular problem was better directed at the perl a perl newsgroup (but no
one has replied to the post yet ...) I was hoping someone over on this
newsgroup might know why "logger" introduces the delays, but are you
familiar with the perl Syslog facility? I could send you the code snippit
if you think you could spot the problem. let me know,
Thanks. - Karen
"Barry Margolin" <barmar@alum.mit.edu> wrote in message
news:barmar-0BE672.22093121012005@comcast.dca.giganews.com...
> In article <csrs5b$9rc$1@aplcore.jhuapl.edu>,
> "Karen Wieprecht" <karen.wieprecht@jhuapl.edu> wrote:
>
> > Hi,
> > I wrote a perl script to process audit data into something a human can
make
> > sense of and then log it to syslog via the "logger" command.
>
> Isn't there a Syslog:: module that would allow you to do this
> programmatically, instead of calling an external program?
>
> --
> Barry Margolin, barmar@alum.mit.edu
> Arlington, MA
> *** PLEASE post questions in newsgroups, not directly to me ***
- Previous message: Bill Marcum: "Re: What Is Better than ps (want program name etc)"
- In reply to: Barry Margolin: "Re: Logger messages getting stuck in a buffer somewhere?"
- Next in thread: Barry Margolin: "Re: Logger messages getting stuck in a buffer somewhere?"
- Reply: Barry Margolin: "Re: Logger messages getting stuck in a buffer somewhere?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|