/****************************************************************************** * LOGGING SECTION. * ******************************************************************************/ /* * logfile{} blocks can be used to set up log files other than the master * logfile used by services, which is controlled by serverinfo::loglevel. * * The various logging categories are: * debug, all - meta-keyword for all possible categories * trace - meta-keyword for a little bit of info * misc - like trace, but with some more miscillaneous info * notice - meta-keyword for notice-like information * ------------------------------------------------------------------------------ * error - critical errors * info - miscillaneous log notices * verbose - A bit more verbose than info, not quite as spammy as debug * commands - all command use * admin - administrative command use * register - account and channel registrations * set - changes of account or channel settings * request - user requests (currently only vhosts) * network - log notices related to network status * rawdata - log raw data sent and received by services * wallops - <not yet used> */ /* * This block logs all account and channel registrations and drops, * and account and channel setting changes to var/account.log. */ logfile "var/account.log" { register; set; }; /* * This block logs all command use to var/commands.log. */ logfile "var/commands.log" { commands; }; /* * This block logs all admin command use to var/admincommands.log. */ logfile "var/admincommands.log" { admin; }; /* * This block logs all user requests (vhosts currently) to var/userrequests.log. */ logfile "var/userrequests.log" { request; }; /* * This block logs all miscellanous log information to var/info.log. */ logfile "var/info.log" { info; }; /* * This block logs critical errors to var/error.log. */ logfile "var/error.log" { error; }; /* * You can log to IRC channels, and even split it by category, too. * This entry provides roughly the same functionality as the old snoop * feature. * WARNING: if you do enable this feature, you should restrict the access to #services to IRC ops/admins */ #logfile "#services" { error; info; admin; request; register; };