Perl IRC Logger Bot

This is the site for the Perl IRC logger that was developed around 2001-2005 for logging IRC on freenode channels rdfig (to 2004), foaf (2000-), swig (2000-), redland (2008-) and various event and temporary channels for shorter periods of time. At that stage it was perfect so development stopped :)

License: GPL 2 (or any newer version)

Source

Get it from the GitHub repository.

Docs

The README.html file in the source tree offers some pathetic details of what it is about and how it works.

The bot itself also contains POD information so here is a static pod2html version of it's documentation: logger.html

Download

check it out at:

  git clone git://github.com/dajobe/logger.git

and the main program is the 'logger' perl script.

Or use the GitHub source browse to see it in situ. This is a migration of the earlier CVS and Subversion repositories so there may be weirdness

Installation

Basically install the Perl Net::IRC module from CPAN or your distribution's repository. Version 0.75 from 2004 works fine.

Running Logger

The minimum to run it is:

  $ perl /path/to/logger \
    $LOGGER_BOT_PASSWORD \
    irc://irc.freenode.net/$CHANNEL "$CHANNEL_TITLE_FOR_LOGS" \
    $PATH_TO_WRITE_LOGS_IN_WEBSPACE \
    "http://$WEBSITE/$CHANNEL/"

But there are more options so for example, for swig on freenode it is something like:

  $ /home/logger/bin/logger -nick logger \
    -pidfile $PIDS/logger-swig.pid \
    -connectuser nickserv \
    -connectcmd "identify ********" \
    ******* \
    irc://irc.freenode.net/swig "W3C Semantic Web Interest Group IRC - http://www.w3.org/2001/sw/interest/" \
    /home/logger/public_html \
    "http://chatlogs.planetrdf.com/swig/" > logger-swig.log 2>&1 &
    

Dave Beckett, 2011-04-06