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

Taking advantage of the 'laziness' part of Perl's "Laziness, Impatience, and Hubris" motto, I'm wondering if any monk can tell me if a LogAppender for Slack already exists .. before I start to write my own ('hubris' and 'impatience').

I'm making extensive use of the excellent Log::Log4perl module for logging, and currently have ERROR messages sending an E-Mail .. but that's not a great warning system if I don't look at E-Mail for a couple of days (it happens once in a while). A little red dot on the Slack logo on my monitor would be more preferable.

Alex / talexb / Toronto

For a long time, I had a link in my .sig going to Groklaw. I heard that as of December 2024, this link is dead. Still, thanks to PJ for all your work, we owe you so much. RIP Groklaw -- 2003 to 2013.

  • Comment on Before I reinvent the wheel .. is there a Log4perl appender for Slack?

Replies are listed 'Best First'.
Re: Before I reinvent the wheel .. is there a Log4perl appender for Slack?
by soonix (Chancellor) on Dec 31, 2024 at 18:21 UTC
    I know Slack only from hearsay, but a CPAN search finds e.g. Log::Dispatch::Slack, "Send log messages to Slack". Hasn't been updated in several years, but testers are all green, so from my outside view, it looks "rock bottom stable" ;-)

      Thanks! Obviously my search-fu needs work. Since it looks like this module needs adoption, I might see if I can help out (he said with trepidation).

      Alex / talexb / Toronto

      For a long time, I had a link in my .sig going to Groklaw. I heard that as of December 2024, this link is dead. Still, thanks to PJ for all your work, we owe you so much. RIP Groklaw -- 2003 to 2013.

Re: Before I reinvent the wheel .. is there a Log4perl appender for Slack?
by InfiniteSilence (Curate) on Jan 10, 2025 at 02:43 UTC

    Where are people looking for Perl modules...? Just typing 'Slack' into the search box on metacpan reveals an ecosystem of modules that look like they match Slack's API offerings. I guess those are publication dates of mid/late last year. I would start there and leave very old things alone.

    Celebrate Intellectual Diversity