Logging PMs in irssi

I’ve been a long time user of the irssi IRC client, and for a while now I’ve been wondering if I could log all my private messages without having to log all the channel history as well. I log all my instant messaging in Pidgin, because it often has useful information that I want to check back for, but I’ve lost a lot of stuff by not having logging in irssi.

So here’s how you do it, in 2 simple commands:

/set autolog on
/set autolog_level MSGS -crap -clientcrap -ctcps

This will set up a log structure something like this:
~/irclogs/<network>/<nick>.log
for instance ~/irclogs/freenode/mrben.log if I had PMed you on the Freenode network (where I hang out).

Anyway – I thought this was really useful, and not as easy to find on Google as it should have been. Enjoy.

mrBen

This entry was posted in Computing, Linux, mrBen. Bookmark the permalink.

2 Responses to Logging PMs in irssi

  1. gyaresu says:

    It’s not easy to find a simple way of emailing that info to oneself either.
    I use so many different computers it’s better if pm’s or name usage could be emailed to me perhaps using a script & a cron job.

  2. bitletech says:

    Thanks a lot dude for this hint. I was searching for that hours until I found your posting here. Thank you very much.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>