]> jfr.im git - irc/evilnet/x3.git/blame - x3.conf.example
Fixing small bug in x3.conf.example
[irc/evilnet/x3.git] / x3.conf.example
CommitLineData
5a6d6ae5 1/* *****************************************************************
fbbc275b 2 * X3 Services Example Configuration file.
3 *
4 * Copy it to your x3 runtime dir, and edit to taste.
5 *
6 * This file allows two kinds of comments. Whitespaces between
7 * tokens are ignored. All strings (even if they're just numbers)
8 * MUST be enclosed in double quotes. There must be a semicolon
9 * after every * key/value pair.
d76ed9a9 10 */
11
fbbc275b 12/* UPLINKS (servers we connect to) *********************************
13 * Each subsection describes one server. X3 will try to connect to
14 * each in turn maxtries times, and then will quit.
15 */
d76ed9a9 16"uplinks" {
fbbc275b 17 // This first entry connects to an ircd on teh same server an X3..
18 "Hub" { // This can be any string, just used here for your conveniance
19 "address" "127.0.0.1"; // The IP address of the server
20 "port" "8888"; // What TCP port to connect to
21 "password" "laoo,rpe"; // Both of these passwords must match
22 "their_password" "laoo,rpe"; // the one in the ircd C line for X3.
23 "enabled" "1"; // Set to 0 to disable connecting to this server
24 "max_tries" "10"; // How many times to attemt reconnect before quitting
25 "bind_address" "127.0.0.1"; // LOCAL IP address we want to connect FROM
26 };
27 // This next one connects to an ircd on another server
28 "Hub-west" {
d76ed9a9 29 // IP address and port the server listens on
fbbc275b 30 "address" "192.168.234.123"; // IP of remote server
31 "port" "8888";
32 "password" "ekrpat"; // C line passwords
33 "their_password" "ekrpat"; // Set same as above
34 "enabled" "0"; // Set this to 1 to use this server..
35 "max_tries" "1";
36 "bind_address" "192.168.1.10";
d76ed9a9 37 };
fbbc275b 38};
d76ed9a9 39
fbbc275b 40/* SERVER (Details about our existance) **********************************
41 */
42"server" {
43 "hostname" "X3.AfterNET.Services"; // The servers name. (Use this in the ircd's C line)
44 "description" "AfterNET Network Services"; // Shows up in /links.
45 "network" "AfterNET";
46 "hidden_host" "Users.AfterNET.Org"; // set this if you enabled Nefarious' +x mode
47 /* hidden_host should match the F:HIDDEN_HOST: line in your ircu's ircd.conf;
48 * x3 does not set the host suffix for users, but must know it when making
49 * things like bans, where it should not show the user's real hostname. */
50 "numeric" "51"; // hint: If you get collisions on link, CHANGE THIS.
c02cd944 51 "type" "4"; // Only change this to 5 if you are using Nefarious 0.5.0 off SVN
fbbc275b 52 "max_users" "256"; // You can save a little memory by setting this to a lower value.
53 "force_n2k" "1"; // Use extended (5-digit) numnick for self, even if 3 are possible.
54 "ping_freq" "60";
55 "ping_timeout" "90";
56 "max_cycles" "30"; // max uplink cycles before giving up
57 // Admin information is traditionally: location, location, email
58 // This shows up on a /admin x3.afternet.services command.
59 "admin" (
60 "AfterNET IRC Network",
61 "www.afternet.org",
62 "Support Staff <support@afternet.org>"
63 );
805e7c7a 64 /* extended_accounts -
65 * enable this for nefarious 0.4.x and higher. Sends 'AC R nick account'instead of
66 * 'AC nick account' and allows for renames etc. */
67 "extended_accounts" "1";
fbbc275b 68 /* the following two settings are for ircu's HEAD_IN_SAND features, and are equivelent to
69 * the F: lines in ircu's ircd.conf. both can be disabled by commenting them out. */
70 //"his_servername" "*.AfterNET.org"; // hidden server name, shown in remote /whois requests
71 //"his_servercomment" "AfterNET IRC Network";
d76ed9a9 72};
73
fbbc275b 74/* SERVICES (Bot nicknames) *******************************************
75 * Each section describes one service nickname and the details of that
76 * bot's features
77 * You may disable a service by commenting out its "nick" config item.
78 */
d76ed9a9 79"services" {
fbbc275b 80 /* Nickserv is the bot you register with and auth to.
81 * Afternet uses the name "Authserv" without the nickname reservation
82 * features enabled. Some nets call it Nickserv and configure it to
83 * reserve nicks.
84 */
d76ed9a9 85 "nickserv" {
fbbc275b 86 "nick" "AuthServ"; // The bots nick on IRC
87
88 // If you want to have *@* as the default hostmask, set
89 // default_hostmask. I highly reccomend this, and its required
90 // for login-on-connect to work.
91 "default_hostmask" "1";
92
d76ed9a9 93 // do we warn users when someone new auths to their account?
fbbc275b 94 "warn_clone_auth" "1"; // -X3- warning: foobar has authed to your account
95
96 // default max number of logins allowed on new accounts. Users can set it
97 // to something different using authserv commands.
98 "default_maxlogins" "3";
99
100 // hard_maxlogins is the ammount the user cant override.
d76ed9a9 101 "hard_maxlogins" "10";
fbbc275b 102
d76ed9a9 103 // This names a file that contains easily guessed passwords.
104 // It always contains "password", "<password>" and the user's
105 // account name.
fbbc275b 106 // uncomment if you have a dict file.
107 //"dict_file" "/usr/share/dict/words";
108
d76ed9a9 109 // Minimum number of various types of characters permitted in
fbbc275b 110 // a password. Authserv will enforce these.
d76ed9a9 111 "password_min_length" "4";
fbbc275b 112 "password_min_digits" "0";
d76ed9a9 113 "password_min_upper" "0";
114 "password_min_lower" "0";
fbbc275b 115
d76ed9a9 116 // What should valid account and nicks look like?
117 // If valid_nick_regex is omitted, valid_account_regex is used
118 // for both nicks and accounts.
fbbc275b 119 // Be very carefull changing these. This default is
120 // basically limited to letters, numbers, dash and underscore.
121 "valid_account_regex" "^[-_a-z0-9A-Z]{2,15}$";
d76ed9a9 122 "valid_nick_regex" "^[-_a-z][-_a-z0-9]*$";
123
fbbc275b 124 // "Nickserv" networks, set this to 0. "Authserv" networks,
125 // set it to 1.
126 "disable_nicks" "1";
127 // One account may only own this many nicks.
128 "nicks_per_account" "4";
129
130 // Send a warning when someone uses a registered nick?
131 "warn_nick_owned" "0";
132
133 // What to do when someone uses the NickServ "reclaim" command?
134 // This can be one of "none", "warn", "svsnick", or "kill", but
135 // stock ircu does not support svsnick -- you need Bahamut or
136 // nefarious.
137 "reclaim_action" "none";
138
139 // What (else) to do when someone uses a registered nick?
140 // This can be anything "reclaim_action" can be, but it makes
141 // more sense to use the "warn_nick_owned" instead of "warn".
142 "auto_reclaim_action" "none";
143
144 // How long to wait before doing the auto_reclaim_action?
145 // This is ignored if "auto_reclaim_action" is "none".
146 "auto_reclaim_delay" "0";
d76ed9a9 147
148 // access control for who can change account flags
fbbc275b 149 // See /msg authserv help account flags
d76ed9a9 150 "flag_levels" {
fbbc275b 151 "g" "800"; // God mode
152 "lc_h" "800"; // support helper (lower case h)
153 "uc_H" "800"; // net helper (upper case H)
154 "S" "999"; // O3 access suspended
e42487a5 155 "b" "1"; // Bot (not sure what it does tho)
d76ed9a9 156 };
fbbc275b 157
d76ed9a9 158 // and for who can change epithets for staff
fbbc275b 159 // epithets show up in /whois as another line about the person.
d76ed9a9 160 "set_epithet_level" "800";
fbbc275b 161
d76ed9a9 162 // what opserv access level do you need to set somebody else's level?
163 "modoper_level" "850";
164
165 // how often should accounts be expired?
166 "account_expire_freq" "1d";
fbbc275b 167
d76ed9a9 168 // how long until an account with access to any channel(s) expires?
fbbc275b 169 "account_expire_delay" "900d";
170
d76ed9a9 171 // how long until an account with no access to any channels expires?
fbbc275b 172 "nochan_account_expire_delay" "365d";
173
d76ed9a9 174 // If somebody keeps guessing passwords incorrectly, do we gag them?
175 "autogag_enabled" "1";
176 "autogag_duration" "30m";
177 "auth_policer" {
178 "size" "5";
179 "drain-rate" "0.05";
180 };
fbbc275b 181
d76ed9a9 182 // How to integrate with email cookies?
fbbc275b 183 // In order to use mail, mail must be enabled and configured
184 // down below in the mail section of this config file.
185 "email_enabled" "1"; // Allow account verification and password reset by email.
186 "email_required" "1"; // if above is 1, require verification to authenticate.
187 "cookie_timeout" "2d"; // how long before we expire cookies?
188 "accounts_per_email" "1"; // How many people can use the same email account.
189
190 "email_search_level" "600"; // minimum OpServ level to search based on email address (search print email *foo*)
d76ed9a9 191 "email_visible_level" "800"; // minimum OpServ level to see somebody's email address
fbbc275b 192 "titlehost_suffix" "AfterNET.Org"; // 'USET title' sets a fake hostname of name.title.titlehost on a user.
193 "set_title_level" "900"; // Access to use 'uset title'.
194 "set_fakehost_level" "1000"; //Access to set a freeform fakehost. (uset fakehost)
04009ebf 195
fbbc275b 196 // This is a hacked in feature which exports every account change to a file sync.log. Afternet uses this and
197 // a bunch of custom PHP scripts to make our websites SQL user db the same as authserv, every 5 minutes.
198 // You have to be a pretty handy person with the shell commands and programming to make use of this..
199 "sync_log" "0"; // Log account changes to a file for syncing w/ a website?
338a82b5 200
201 // Nickserv 'style' setting affects .userlist and other outputs.
202 "default_style" "n"; // can be: n = normal, c = clean, or a = advanced.
d76ed9a9 203 };
204
fbbc275b 205 /*
206 * OpServ is the bot opers use to do glines, look at info etc.
207 * Afternet uses the nickname "O3" for this as its easier to type.
208 */
d76ed9a9 209 "opserv" {
fbbc275b 210 "nick" "O3";
d76ed9a9 211 // should use of this service be limited to global opers?
fbbc275b 212 "privileged" "1";
213
d76ed9a9 214 // fullname for service
fbbc275b 215 "description" "Oper Service Bot"; // (for /whois)
216
d76ed9a9 217 // hostname for service; only used if "description" is also set
fbbc275b 218 "hostname" "X3.AfterNET.Services"; // (for /whois)
219
220 // What channel should opserv send debug output to?
221 // I don't have any idea what debug info goes here. You can configure
222 // debugging logs in the log section to go to any channel.
223 // Probably safest to set to your oper channel.
224 "debug_channel" "#TheOps"; // Bot will join this channel, also.
225 "debug_channel_modes" "+tnOS"; // Modes get set every time X3 starts up
226
d76ed9a9 227 // where to send general alerts (e.g. flood alerts)?
fbbc275b 228 "alert_channel" "#TheOps"; // Bot will join this channel, also.
229 "alert_channel_modes" "+"; // Modes get set every time X3 starts up
230
d76ed9a9 231 // who to tell about staff auths?
fbbc275b 232 "staff_auth_channel" "#OperServ"; // Bot will join this channel, also.
233 "staff_auth_channel_modes" "+tnOs"; // modes get set every time X3 starts up
234
d76ed9a9 235 // how many clones to allow from an untrusted host?
fbbc275b 236 // Use this carefully, users with half the # of clones will trigger this
237 // when a server pings out and they reconnect before the old connection is noticed
238 // to be dead by the server.. so set it at about twice the # you want to allow to
239 // avoid false positives.
240 "untrusted_max" "6"; // 3 connections and 3 ghosts, 7th connection causes a gline.
241
d76ed9a9 242 // how long of a g-line should be issued if the max hosts is exceeded?
fbbc275b 243 "clone_gline_duration" "2h"; // durations are smhdmy
244
245 // how long to g-line for ?block (or, by default, for trace gline)?
246 "block_gline_duration" "12h";
247
d914d1cb 248 // how long to shun for ?sblock (or, by default, for trace shun)?
249 "block_shun_duration" "12h";
250
fbbc275b 251 // When a user joins an illegal channel, O3 joins it and locks it down.
d76ed9a9 252 // how long to keep an illegal channel locked down (seconds)?
253 "purge_lock_delay" "60";
fbbc275b 254
255 // The join-flood policer code goes off all the time when a server
256 // goes down (and everyone reconnects) so i don't reccomend using it.
257 // Automatically moderate join flooded channels?
258 "join_flood_moderate" "0";
259 // channel join flood policer params?
260 "join_policer" {
261 "size" "20";
262 "drain-rate" "1";
263 };
264 // Don't moderate and warn channels unless there are more than
265 // join_flood_moderate_threshold users in the channel. the
266 // value 0 will disable the threshold.
267 "join_flood_moderate_threshold" "50";
268 // new user flood policer params
269 "new_user_policer" {
270 "size" "200";
271 "drain-rate" "3";
272 };
d76ed9a9 273 };
274
275 "chanserv" {
fbbc275b 276 "nick" "X3";
db4e7826 277
278 // The off_channel setting takes one of three numerical values:
279 // 0 = off
280 // 1 = use a registered channel mode, have services op themselves
281 // 2 = all of the above, and a channel setting to have ChanServ not
282 // idle in the channel
283 // NOTE: +z mode, needed for this to work, is inharently flawed and
284 // will cause desynch, so don't use it IMO -Rubin.
fbbc275b 285 "off_channel" "no";
286
287 // Infolines are sent when channel users join the channel. Users set them with USET INFO in X3.
d76ed9a9 288 // how long should a person be unseen before resending infoline?
289 "info_delay" "120";
fbbc275b 290
291 // Greetings can be configured by the channel manager(s) and sent to users who join the channel.
292 // Many people (rightly) find this annoying, so keep them short.
d76ed9a9 293 // maximum greeting length
fbbc275b 294 "max_greetlen" "120";
295
d76ed9a9 296 // maximum users in a channel userlist
297 "max_chan_users" "512";
298 // maximum bans on a channel banlist
299 "max_chan_bans" "512";
300 // maximum length of a user's infoline
fbbc275b 301 "max_userinfo_length" "400"; // for god sake lower this. 80 seems good.
302
303 // If SET DynLimit is on and there are N users in the channel, ChanServ will
304 // try to keep the limit at N+<adjust_threshold>. This makes the channel
305 // somewhat protected from clone attacks.
306 "adjust_threshold" "5";
d76ed9a9 307 // .. but ChanServ will only increment or decrement the limit this often.
fbbc275b 308 "adjust_delay" "30"; // (seconds)
309
31f23f13 310 // How often to look for expired bans?
311 "ban_timeout_freq" "2m";
312
d76ed9a9 313 // How often to look for channels that have expired?
fbbc275b 314 "chan_expire_freq" "1d";
315
d76ed9a9 316 // How long is a channel unvisited (by masters or above) before it can be expired?
317 "chan_expire_delay" "30d";
fbbc275b 318
d76ed9a9 319 // what !set options should we show when user calls "!set" with no arguments?
fbbc275b 320 "set_shows" ("DefaultTopic", "TopicMask", "Greeting", "UserGreeting", "Modes", "PubCmd", "InviteMe", "UserInfo", "EnfOps", "EnfModes", "EnfTopic", "TopicSnarf", "Setters", "CtcpReaction", "Voice", "Protect", "Toys", "DynLimit", "NoDelete");
321
d76ed9a9 322 // A list of !8ball responses
240a3274 323 "8ball" (
324 "Are you out of your MIND?",
325 "It won't happen, not a chance, definitely no.",
326 "Outlook seems bleak.",
327 "My sources say no.",
328 "You bet!",
329 "It is decidedly so.",
330 "It's hard to be sure.",
331 "Most definitely.",
332 "In your dreams...",
333 "If the prophets wish it...",
334 "Forecast hazy, try again later.",
335 "I don't know!",
d76ed9a9 336 "Absolutely!",
240a3274 337 "Never.",
338 "Yes.",
339 "No.",
340 "Maybe.");
fbbc275b 341
d76ed9a9 342 // channel(s) that support helpers must be in to be helping
343 // if this is a list, any one by itself will do
fbbc275b 344 "support_channel" ("#Operations", "#Help");
345
346 // maximum number of channels a user may have. ( FORCE can override )
347 "max_owned" "2";
348
d76ed9a9 349 // how long between automatic topic refreshes with TopicRefresh 0
fbbc275b 350 "refresh_period" "99d"; // Nefarious sync's topics so we'll practically disable this..
351
d76ed9a9 352 // what should !access say for various staff?
fbbc275b 353 "irc_operator_epithet" "AfterNET IRC Operator";
354 "network_helper_epithet" "AfterNET Network Helper";
355 "support_helper_epithet" "AfterNET Support Helper";
356
d76ed9a9 357 // what should a newly registered channel get as its modes?
358 "default_modes" "+nt";
fbbc275b 359
360 // minimum opserv access to set, clear or override channel nodelete setting?
d76ed9a9 361 "nodelete_level" "1";
362 };
363
fbbc275b 364 /* Global is a service bot that can send out network-wide messages for you. I
365 * like to set ours' nick to 'AfterNET', but some people use 'Global'
366 */
d76ed9a9 367 "global" {
368 "nick" "Global";
369 // should users get community announcements by default or not?
fbbc275b 370 // community announcements are a type of global that users may
371 // opt into (or out of, depending on this setting)
d76ed9a9 372 "announcements_default" "on";
373 };
374};
375
fbbc275b 376/* MODULES (optional components) *************************************************
377 * These must be explicitly compiled in (see ./configure --help)
378 * When enabled, they are configured here..
379 */
d76ed9a9 380"modules" {
fbbc275b 381 /* Helpserv is a help-queue tracker module for your #support channels, if
382 * they are busy. It issues users tickets, and tracks the next available helper.
383 */
d76ed9a9 384 "helpserv" {
385 // The description/fullname field
fbbc275b 386 "description" "Help Queue Manager"; // (for whois)
387
d76ed9a9 388 // HelpServ bots log all of their requests to this file, with
389 // details on when they were opened, closed, their contents,
390 // helper, etc. The file is written in saxdb format for easy
391 // parsing by external programs. Please note that you cannot
fbbc275b 392 // use ?set to change this value while x3 is running.
d76ed9a9 393 "reqlogfile" "helpservreq.log";
fbbc275b 394
d76ed9a9 395 // How long should a helpserv be inactive (no requests assigned)
396 // before it can be unregistered by the expire command?
397 "expiration" "60d";
398 };
fbbc275b 399 /* SockCheck reads sockcheck.conf and can do configurable scans
400 * to probe for open relays in an attempt to stop drones from using
401 * the network. DO NOT enable this unless you have permission from
402 * your ISP.. the probes will show up as attacks on everyones firewalls
403 * and you will get a lot of complaints.
404 */
d76ed9a9 405 "sockcheck" {
fbbc275b 406 // disabling this hopefully
407 "max_sockets" "0"; // 64 is a good # of concurrent clients to be checked
d76ed9a9 408 "max_read" "1024"; // don't read more than 1024 bytes from any client
fbbc275b 409 "gline_duration" "1d"; // issue G-lines lasting one hour
d76ed9a9 410 "max_cache_age" "60"; // only cache results for 60 seconds
fbbc275b 411 "address" "192.168.1.10"; // do proxy tests from this address
d76ed9a9 412 };
fbbc275b 413 /* Snoop sends connect, quit, join, and part messages for every user
414 * on the network, and helps in finding drones. Put it somewhere secure
415 * so your users privacy is honored.
416 */
d76ed9a9 417 "snoop" {
418 // Where to send snoop messages?
fbbc275b 419 "channel" "#MrSnoopy";
420 // Which bot?
421 "bot" "O3";
d76ed9a9 422 // Show new users and joins from net joins? (off by default)
423 "show_bursts" "0";
424 };
ec311f39 425 /* Track works just like Snoop except it only sends events for users
426 * who have been specified
427 */
428 "track" {
429 // What to track by default?
430 "snomask" "nick,join,part,kick,new,del,auth,chanmode,umode";
431 // Where to send snoop messages?
432 "channel" "#MrPeanuts";
433 // Which bot?
434 "bot" "O3";
435 // Show new users and joins from net joins? (off by default)
436 "show_bursts" "0";
437 };
fbbc275b 438 /* Memoserv lets users send messages to other users accounts.
439 */
d76ed9a9 440 "memoserv" {
fbbc275b 441 "bot" "MemoServ";
d76ed9a9 442 "message_expiry" "30d"; // age when messages are deleted; set
443 // to 0 to disable message expiration
444 };
445};
446
447"policers" {
448 "commands-luser" {
449 "size" "5";
450 "drain-rate" "0.5";
451 };
452};
453
454"rlimits" {
455 "data" "50M";
456 "stack" "6M";
457 "vmem" "100M";
458};
459
fbbc275b 460/* MAIL (if and how X3 sends mail ) *********************************
461 * Mainly Authserv/Nickserv send mail, See the Nickserv
462 * section for additional mail settings also.
463 */
d76ed9a9 464"mail" {
fbbc275b 465 "enable" "1";
d76ed9a9 466 "mailer" "/usr/sbin/sendmail";
fbbc275b 467 // OR Afternet uses a custom script to keep the services IP hidden:
468 // "mailer" "/home/x3user/x3/sendmail.sh";
469 "from_address" "supportrobot@afternet.org";
470 "extra_headers" ("AfterNET-Services: x3");
471 "body_prefix_first" ("Welcome to AfterNET, looks like this is your first email from us.");
472 "body_prefix" ("AfterNET Support - User and Channel registration system");
473 "body_suffix_first" ("", "AfterNET IRC Network", "http://www.afternet.org");
474 "body_suffix" ("", "AfterNET IRC Network", "http://www.afternet.org", "support@afternet.org","irc://irc.afternet.org/afternet");
d76ed9a9 475};
476
fbbc275b 477/* DBS (Databases) *************************************************
478 * let you configure what databases go in what files.
479 *
480 * This default sets up everything in one big x3.db file.
481 *
482 * If you leave this section out, each database will be in its own file,
483 * and they will be written out every half hour.
484 */
d76ed9a9 485"dbs" {
486 // This just illustrates how you can jam every database into one huge ("mondo") file.
487 "ChanServ" { "mondo_section" "ChanServ"; };
488 "gline" { "mondo_section" "gline"; };
d914d1cb 489 "shun" { "mondo_section" "shun"; };
d76ed9a9 490 "Global" { "mondo_section" "Global"; };
491 "HelpServ" { "mondo_section" "HelpServ"; };
492 "modcmd" { "mondo_section" "modcmd"; };
493 "NickServ" { "mondo_section" "NickServ"; };
494 "OpServ" { "mondo_section" "OpServ"; };
495 "sendmail" { "mondo_section" "sendmail"; };
496
497 // These are the options if you want a database to be in its own file.
498 "mondo" {
499 // Where to put it?
ceafd592 500 "filename" "x3.db";
d76ed9a9 501 // How often should it be saved?
502 // (You can disable automatic saves by setting this to 0.)
503 "frequency" "30m";
504 };
505};
506
fbbc275b 507/* LOGS (If and how X3 logs data ) ***********************************
508 * LOGS sets up where X3 logs various kinds of info to.
509 */
d76ed9a9 510"logs" {
511 // Two kinds of items exist in this section.
512
513 // One is a facility configuration subsection. These have the
514 // name of a log facility (one of "ChanServ", "Global",
ceafd592 515 // "HelpServ", "NickServ", "OpServ", "ProxyCheck", or "x3") and
516 // the value is a subsection. The "x3" log facility is a
d76ed9a9 517 // catch-all/fall-back facility.
ceafd592 518 "x3" {
d76ed9a9 519 // The "max_age" option says how long to keep log audit entries.
fbbc275b 520 "max_age" "10h";
d76ed9a9 521 // The "max_count" option says how many log audit entries to keep.
522 "max_count" "1024";
523 // Audit (command tracking) entries are discarded if they exceed
524 // either limit: for example, if entry 500 is 10 minutes old, it
525 // will be discarded next time any audit command is logged.
526 };
527
528 // The other kind of item is a target list. The name of each is a
529 // description of facility-and-severity combinations, and the value
530 // is a string (or list of strings) that describe where matching
531 // events should be logged. As a special case, the facility * will
532 // specify how to log events regardless of their true facility, and
533 // the severity * will match all severities for a facility.
534 // Log targets use a psuedo-URI syntax: one of "file:filename",
535 // "std:[out|err|n]" where n is a valid file descriptor, or
536 // "irc:#channel" (nicknames or server masks can be used instead
537 // of channel names, but should be used with care).
538 // The severity is one of "replay", "debug", "command", "info",
539 // "override", "staff", "warning", "error", or "fatal".
540 // WARNING: If any severity except "replay" for a facility is left
541 // unspecified, it will use the default target (for example,
542 // "file:chanserv.log"). For "replay" severity, you must ALWAYS
543 // list a target to log it -- this is because it is very rarely
544 // useful.
545 "*.*" ("std:out", "file:everything.log"); // does NOT suppress any defaults
fbbc275b 546 "*.override,error,fatal" "irc:#TheOps"; // report all uses of staff commands
547 "*.staff" "irc:#MrSnoopy"; // report all uses of staff commands
d76ed9a9 548 "ChanServ.*" "file:chanserv.log"; // duplicates the default behavior
549 "ProxyCheck.*" (); // stop it from logging anything
550};