Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Sys::Syslog behavior on Win32

by vleschuk (Initiate)
on Oct 25, 2012 at 13:50 UTC ( #1000874=perlquestion: print w/ replies, xml ) Need Help??
vleschuk has asked for the wisdom of the Perl Monks concerning the following question:

Dear Perlmonks,

especially the ones, who have an experience with (Strawberry) Perl on Windows,

could you, please, assist with the following issue: when I'm using Sys::Syslog module and sends multi-line message to the Windows' Event Log, it takes every line as a new message.

Considering that die is catched and logged, every line ends up living as a new message in Event Log, making it absolutely uncomfortable to read and troubleshoot things.

Any help would be appreciated.

Thanks.

Replies are listed 'Best First'.
Re: Sys::Syslog behavior on Win32
by Anonymous Monk on Oct 25, 2012 at 17:45 UTC
    ?? So don't do that? Log to console or tcp?
      Thank you - a very nice piece of advice =) Any suggestions how to make it work?

        Thank you - a very nice piece of advice =) Any suggestions how to make it work?

        Just do it, exactly as documented?

Re: Sys::Syslog behavior on Win32
by Anonymous Monk on Oct 26, 2012 at 12:33 UTC
    Found the issue was with Perl code logic. Sys::Syslog works as expected. The morality of the store: always narrow to the smallest code that cause the troubles. Thanks and sorry.
      Are you vleschuk and forgot to login or is AM is getting schizo again?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1000874]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2016-06-25 15:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (326 votes). Check out past polls.