From fc8fb6b916e4dbb155af3e54a3c1cd5308fdf5e6 Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 4 Apr 2008 16:26:09 +0000 Subject: Document new logging and m_chanlog git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9328 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/inspircd.conf.example | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/docs/inspircd.conf.example b/docs/inspircd.conf.example index e3d8e8b33..e5740e7eb 100644 --- a/docs/inspircd.conf.example +++ b/docs/inspircd.conf.example @@ -1019,6 +1019,44 @@ moronbanner="You're banned! Email haha@abuse.com with the ERROR line below for help." exemptchanops=""> +#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# +# Logging +# Logging is covered with the tag, which you may use to change +# the behaviour of the logging of the IRCd. +# +# In InspIRCd as of 1.2, logging is pluggable and very extensible. +# Different files can log the same thing, different 'types' of log can +# go to different places, and modules can even extend the log tag +# to do what they want. +# +# An example log tag would be: +# +# which would log all information on /oper (failed and successful) to +# a file called opers.log. +# +# There are many different types which may be used, and modules may +# generate their own. A list of useful types: +# - USERS - information relating to user connection and disconnection +# - CHANNELS - information relating to joining and parting of channels. +# XXX someone doc more on this +# +# You may also log *everything* by using a type of *, and subtract things out +# of that by using -TYPE - for example "* -USERINPUT -USEROUTPUT". +# + +# Channel Logging +# I'm aware this would probably better belong in the modules section, but this is heavily interrelated +# to logging, and as such will be documented here. +# +# m_chanlog is one of the modules which can alter logging to it's own thing. +# An example of this may be: +# +# +# +# The following log tag is highly default and uncustomised. It is recommended you +# sort out your own log tags. This is just here so you get some output. + + #-#-#-#-#-#-#-#-#-#-#-#-#- WHOWAS OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-# # # # This tag lets you define the behaviour of the /whowas command of # -- cgit v1.2.3