X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=doc%2Fexample_silcd.conf.in;h=479fdb5ee52f42aa810993f291e66728044ab9d8;hp=7cce0213cad32d2318c78759628c8c4cdfafb708;hb=d724e6e0616bad77bdcd83ed08a3f20daf5660b2;hpb=bd2c9343055303a5517a33401f57a0414639a953 diff --git a/doc/example_silcd.conf.in b/doc/example_silcd.conf.in index 7cce0213..479fdb5e 100644 --- a/doc/example_silcd.conf.in +++ b/doc/example_silcd.conf.in @@ -99,9 +99,18 @@ lassi.kuo.fi.ssh.com:10.2.1.6:Kuopio, Finland:706 # Log files. # # This section is used to set various logging files, their paths -# and maximum sizes. All the other directives except those defined -# below are ignored in this section. Log files are purged after they -# reach the maximum set byte size. +# and maximum sizes. There are only four defined channels allowed for +# defining (see list below). +# The log channels have an importance value, and most important channels +# are printed on the less important ones, thus setting the logging file +# for "infologfile" will ensure logging for all channels, while setting +# logging file for "errorlogfile" will ensure logging for channels +# "error" and "fatal" only. +# If a message can't find a valid output file it will be discarded, thus, +# if you unset all files you will completely disable server logging (and +# this is NOT recommended). +# If maximum size is given, the logfile will be rotated to a logfile with +# the ".old" extension added. Older logfiles are flushed. # # Format: infologfile:: # warninglogile:: @@ -109,10 +118,10 @@ lassi.kuo.fi.ssh.com:10.2.1.6:Kuopio, Finland:706 # fatallogile:: # [Logging] -infologfile:@LOGSDIR@/silcd.log:10000 -#warninglogfile:@LOGSDIR@/silcd_warning.log:10000 -#errorlogfile:@LOGSDIR@/error.log:10000 -#fatallogfile:@LOGSDIR@/silcd_error.log: +infologfile:@LOGSDIR@/silcd.log:50000 +warninglogfile:@LOGSDIR@/silcd_warnings.log:50000 +#errorlogfile:@LOGSDIR@/silcd_errors.log:50000 +#fatallogfile:@LOGSDIR@/silcd_fatals.log: # # Connection classes.