To create new wiki account, please join us on #znc at Libera.Chat and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.

log

From ZNC
Revision as of 13:29, 17 December 2011 by DarthGandalf (talk | contribs) (Created page with "{{DISPLAYTITLE:log}} {{Extra Module}} This module logs your conversations to some special place on your disk. Once this module is loaded, it writes log files to: ~/.znc/use...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Extra Module

This module logs your conversations to some special place on your disk.

Once this module is loaded, it writes log files to:

~/.znc/users/<username>/moddata/log/

(Replace ~/.znc/ with your data dir if you use a non-standard one).

You can make a symlink for easier access to that location, e.g.

ln -s $HOME/.znc/users/dude/moddata/log/ $HOME/dude_irc_logs

Usage

Arguments

This user module takes no arguments.

Read loading modules to learn more about loading modules. Load the module to start logging, unload it to stop logging. Kinda easy, eh?

Commands

This module does not support any commands.

pisg

The log module uses the "energymech" format so it can be used with pisg if so desired.

Example Config

   <channel="#znc">
       Logfile = "/home/znc/.znc/users/efnet/moddata/log/#znc_*.log"
       Format = "energymech"
       Network = "EFnet"
       OutputFile = "znc.html"
   </channel>