ZNC website has died on 29 March 2017, without fresh backups. Wiki is now back from dump of July 2015. Please help restoring the lost content.
| 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
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>/moddata/adminlog/znc.log (most likely
~/.znc/moddata/adminlog/znc.log) or syslog.
It logs when users connect or disconnect from IRC and when they log in. Failed logins are logged, too.
This global module takes no arguments.
Read loading modules to learn more about loading modules.
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.