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: Difference between revisions
>Juvenal is an extra module in older znc releases |
>5moufl No edit summary |
||
Line 17: | Line 17: | ||
== Usage == | == Usage == | ||
{{Module arguments|count=up to one|extra=Path where to store logs. It can contain <code>$USER</code>, <code>$NETWORK</code> and <code>$WINDOW</code> substitutes.}} | {{Module arguments|count=up to one|one=true|extra=Path where to store logs. It can contain <code>$USER</code>, <code>$NETWORK</code> and <code>$WINDOW</code> substitutes.}} | ||
Load the module to start logging, unload it to stop logging. Kinda easy, eh? | Load the module to start logging, unload it to stop logging. Kinda easy, eh? | ||
Revision as of 13:58, 20 October 2012
This module is a part of ZNC. This module is shipped with ZNC by default. If you have the right "LoadMod" you can activate it with /znc LoadMod log The code for this module can be found here. |
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
Note
In the znc-0.206 release this module is NOT a core module, see ZNC-Extra for more information on how to use it
Usage
Arguments
This user module takes up to one argument. Path where to store logs. It can contain $USER
, $NETWORK
and $WINDOW
substitutes.
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>