Skip to content

[archived] Sinatra application to read irssi logs. Discontinued since I no longer use irssi

Notifications You must be signed in to change notification settings

epochwolf/irssi_log_reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Irssi Log Reader

An application to read and grep irssi logs.

Features

  • View logs listed by Server > Chatroom > Date
  • Grep logs by Server > Chatroom

Irssi Autolog Configuration

This program is designed to work with irssi's logging functionality.

These are the settings I use for my logs. I find a need for daily log rotation.

log_theme = default
log_timestamp = "%H:%M:%S";
autolog = ON
autolog_colors = OFF
autolog_level = all -crap -clientcrap -ctcps
autolog_path = ~/irclogs/$tag/$0/$0_%Y%m%d.log
log_create_mode = 640
log_open_string = --- Log opened %a %b %d %H:%M:%S %Y
log_day_changed = --- Day changed %a %b %d %Y
log_close_string = --- Log closed %a %b %d %H:%M:%S %Y

~/irclogs/$tag/$0/$0_%Y%m%d.log translates to ~/irclogs/FreeNode/#slicehost/#slicehost_20091025.log

log_create_mode = 640 is required so the webserver can read the logs. The group the application runs as will need to own the irclog folder, or you can change this to 644, so anyone can read it. (Not recommended!)

This format is required because it's been hardcoded into the application.

Cronjobs

A nightly cronjob is required to update the file list cache.

About

[archived] Sinatra application to read irssi logs. Discontinued since I no longer use irssi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages