To create new wiki account, please join us on #znc at freenode or efnet and ask admins to create a wiki account for you.

adminlog

From ZNC
Jump to: navigation, search


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.

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.