Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Logging via Jabber

by Anonymous Monk
on Dec 01, 2008 at 04:18 UTC ( [id://727000]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Monks,

I have an application that uses log4perl for logging and I am currently thinking about adding logging via Jabber to it.

To my surprise I found that there does not seem to be an corresponding log4perl-appender on CPAN.

So I ask myself: Is there a reason for that? Is maybe logging via Jabber a bad idea?

How would you make log-messages available from remote in real-time?

Many thanks!

Replies are listed 'Best First'.
Re: Logging via Jabber
by f00li5h (Chaplain) on Dec 01, 2008 at 06:19 UTC

    It doesn't sound like too bad an idea to me... Log::Dispatch::Jabber.

    @_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;

      As I said - I am using Log4perl.

      Or is there a way to use Log::Dispatch::Jabber as a log4perl-appender?

        Hi,

        I think you can use the Log::Dispatch modules as appender, look at the man page of Log::Log4perl::Appender.

        Regards,

        fmerges at irc.freenode.net

        I was more pointing at prior art than at a particular solution for log4perl. It does seem reasonable that this module woudl play nice though...

        ... perhaps with a wrapper or some tasty curry.

        Please excuse the mathematical handwaving

        @_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-10-08 06:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (44 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.