Jump to content

Irssi: Difference between revisions

125 bytes added ,  24 April 2015
irssi logging per log
(irssi logging per log)
 
Line 273: Line 273:


  /set autolog on
  /set autolog on
  /set autolog_path ~/irclogs/$tag/$0.log
  /set autolog_path ~/irclogs/%Y/$tag/$0.%m-%d.log
This turns on irssi logging, and setting the paths like this with the variables means that the irssi will save all the logs for a certain channel/pm in a different file each day.
This turns on irssi logging, and setting the paths like this with the variables means that the irssi will save all the logs for a certain channel or PMs in a different file each day. Different formatting for the path can be constructed for example <code>"~/irclogs/$tag/$0/%Y-%m-%d.log"</code>.


  /set autoclose_query 86400
  /set autoclose_query 86400