ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-8/doc/example.efnet.conf
(Generate patch)

Comparing ircd-hybrid-8/etc/example.efnet.conf (file contents):
Revision 1229 by michael, Mon Sep 19 11:57:21 2011 UTC vs.
Revision 1247 by michael, Sat Oct 1 07:54:24 2011 UTC

# Line 147 | Line 147 | admin {
147   };
148  
149   /*
150 * log {}:  contains information about logfiles.
151 */
152 log {
153        /* Do you want to enable logging to ircd.log? */
154        use_logging = yes;
155
156        /*
157         * logfiles: the logfiles to use for user connects, /oper uses,
158         * and failed /oper.  These files must exist for logging to be used.
159         */
160        fname_userlog = "logs/userlog";
161        fname_operlog = "logs/operlog";
162        fname_killlog = "logs/kill";
163        fname_klinelog = "logs/kline";
164        fname_glinelog = "logs/gline";
165
166        /*
167         * log_level: the amount of detail to log in ircd.log.  The
168         * higher, the more information is logged.  May be changed
169         * once the server is running via /quote SET LOG.  Either:
170         * L_CRIT, L_ERROR, L_WARN, L_NOTICE, L_TRACE, L_INFO or L_DEBUG
171         */
172        log_level = L_INFO;
173 };
174
175 /*
150   * class {}:  contains information about classes for users
151   */
152   class {
# Line 1310 | Line 1284 | glines {
1284          duration = 1 day;
1285  
1286          /*
1287 <         * logging: which types of rules you want to log when triggered
1287 >         * log: which types of rules you want to log when triggered
1288           * (choose reject or block)
1289           */
1290 <        logging = reject, block;
1290 >        log = reject, block;
1291  
1292          /*
1293           * NOTE: gline ACLs can cause a desync of glines throughout the
# Line 1351 | Line 1325 | modules {
1325          /* module: the name of a module to load on startup/rehash */
1326          #module = "some_module.la";
1327   };
1328 +
1329 + /*
1330 + * log {}:  contains information about logfiles.
1331 + */
1332 + log {
1333 +        /* Do you want to enable logging to ircd.log? */
1334 +        use_logging = yes;
1335 +        timestamp = yes;
1336 +
1337 +        file {
1338 +                type = oper;
1339 +                name = "/home/ircd/var/log/oper.log";
1340 +                size = 50 megabytes;
1341 +        };
1342 +
1343 +        file {
1344 +                type = user;
1345 +                name = "/home/ircd/var/log/oper.log";
1346 +                size = 50 megabytes;
1347 +        };
1348 +
1349 +        file {
1350 +                type = kill;
1351 +                name = "/home/ircd/var/log/kill.log";
1352 +                size = 50 megabytes;
1353 +        };
1354 +
1355 +        file {
1356 +                type = kline;
1357 +                name = "/home/ircd/var/log/kline.log";
1358 +                size = 50 megabytes;
1359 +        };
1360 +
1361 +        file {
1362 +                type = dline;
1363 +                name = "/home/ircd/var/log/dline.log";
1364 +                size = 50 megabytes;
1365 +        };
1366 +
1367 +        file {
1368 +                type = gline;
1369 +                name = "/home/ircd/var/log/gline.log";
1370 +                size = 50 megabytes;
1371 +        };
1372 +
1373 +        file {
1374 +                type = debug;
1375 +                name = "/home/ircd/var/log/debug.log";
1376 +                size = 50 megabytes;
1377 +        };
1378 + };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines