Re: Logger messages getting stuck in a buffer somewhere?

From: Karen Wieprecht (karen.wieprecht_at_jhuapl.edu)
Date: 01/24/05

  • Next message: Bridge: "Volumes on disks"
    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 ***


  • Next message: Bridge: "Volumes on disks"

    Relevant Pages

    • Logger messages getting stuck in a buffer somewhere?
      ... 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. ...
      (comp.unix.questions)
    • Re: asynchronous system shell?
      ... >> I have a perl script that is run on the web, that in turn, calls ... >> external program to complete before completing the script. ... but I can't tell how he actually launches it. ...
      (comp.lang.perl.misc)
    • Re: asynchronous system shell?
      ... > I can get the script to work, but the perl insists on waiting for the ... > external program to complete before completing the script. ... Sinan Unur ...
      (comp.lang.perl.misc)
    • Re: using a variable as STDIN for an external program
      ... C3> I'd like to call an external program through perl, but I need to redirect a ... C3> variable in my perl program, to STDIN of the external program. ...
      (comp.lang.perl.misc)
    • asynchronous system shell?
      ... I can get the script to work, but the perl insists on waiting for the ... external program to complete before completing the script. ... ask a web user to wait. ...
      (comp.lang.perl.misc)