Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Sys::Syslog skips the first event

by Anonymous Monk
on Jun 08, 2015 at 15:21 UTC ( [id://1129448]=note: print w/replies, xml ) Need Help??


in reply to Sys::Syslog skips the first event

Am I using Sys::Syslog wrongly ... I know that the man page asks us -- twice -- not to run setlogsock

It seems you've answered your own question there... although it's too bad that it is not evident from the documentation or version history as to why setlogsock has been discouraged since v0.18 (that was almost 10 years ago). Just a wild guess: maybe a Wireshark trace could give you a hint.

Have you looked into any of the other Syslog modules?

Replies are listed 'Best First'.
Re^2: Sys::Syslog skips the first event
by MarkusLaker (Beadle) on Jun 10, 2015 at 15:16 UTC
    The documentation hints that the reason for not using setlogsock is that some people were using it without knowing what it did, and were making their code less reliable, rather than more so, by routinely writing setlogsock('unix').

    Thanks for the pointers to other Syslog modules. I'd rather not resort to them because it would impose more work on the customers who have to run this program, but I'll go there (or just write the subset of syslogging that I actually need) if I can't make the program work acceptably in any other way.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1129448]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-19 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found