9.2.3.1. ...saving an IRC discussion?
There are two ways to save a discussion in XChat: you can enable logging, which automatically logs all discussion on all channels, or you can save text, which performs a one-time save of the current text (300 lines by default) in the current topic:
Figure 9-5. XChat preferences window
~/.xchat2/xchatlogs , with one log per network/channel combination:
cd ~/.xchat2/xchatlogs
ls
Since each log filename contains special characters and spaces, you will need to quote the filename when using it in a command:
$ grep ctyler "FreeNode (formerly OpenProjects.net)-#fedora.log"