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.
Adminlog: Difference between revisions
Jump to navigation
Jump to search
DarthGandalf (talk | contribs) Created page with "{{DISPLAYTITLE:adminlog}} {{Core Module | version = 0.076}} This module writes a log to <code><datadir>/znc.log</code> (most likely <code>~/.znc/znc.log</code>) or syslog. It..." |
>Paccer |
||
Line 7: | Line 7: | ||
== Usage == | == Usage == | ||
{{Module arguments}} | {{Module arguments | ||
| type = global | |||
}} | |||
=== Commands === | === Commands === |
Revision as of 14:09, 18 June 2013
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 adminlog The code for this module can be found here. This module is part of ZNC since Version 0.076 |
This module writes a log to <datadir>/znc.log
(most likely ~/.znc/znc.log
) or syslog.
It logs when users connect or disconnect from IRC and when they log in. Failed logins are logged, too.
Usage
Arguments
This global module takes no arguments.
Read loading modules to learn more about loading modules.
Commands
target
The target
command can be used to set the logging method:
- Only log to znc.log:
/msg *adminlog target file
- Only log to syslog:
/msg *adminlog target syslog
- Log to both, syslog and znc.log:
/msg *adminlog target both
The settings are saved and reloaded across restarts.