Code: Select all
##### LOG FILES #####
# Eggdrop is capable of logging various things, from channel chatter to
# commands people use on the bot and file transfers. Logfiles are normally
# kept for 24 hours. Afterwards, they will be renamed to "(logfile).yesterday".
# After 48 hours, they will be overwritten by the logfile of the next day.
#
# Events are logged by certain categories. This way, you can specify
# exactly what kind of events you want sent to various logfiles.
#
# Logfile flags:
# b - information about bot linking and userfile sharing
# c - commands
# d - misc debug information
# h - raw share traffic
# j - joins, parts, quits, and netsplits on the channel
# k - kicks, bans, and mode changes on the channel
# m - private msgs, notices and ctcps to the bot
# o - misc info, errors, etc (IMPORTANT STUFF)
# p - public text on the channel
# r - raw incoming server traffic
# s - server connects, disconnects, and notices
# t - raw botnet traffic
# v - raw outgoing server traffic
# w - wallops (make sure the bot sets +w in init-server)
# x - file transfers and file-area commands
#
# Note that modes d, h, r, t, and v can fill disk quotas quickly. There are
# also eight user-defined levels (1-8) which can be used by Tcl scripts.
#
# Each logfile belongs to a certain channel. Events of type 'k', 'j', and 'p'
# are logged to whatever channel they happened on. Most other events are
# currently logged to every channel. You can make a logfile belong to all
# channels by assigning it to channel "*".
# This is the maximum number of logfiles allowed. This setting can be
# increased; however, don't decrease it.
set max-logs 5000
# This is the maximum size of your logfiles. Set it to 0 to disable.
# This value is in kilobytes, so '550' would mean cycle logs when it
# reaches the size of 550 kilobytes. Note that this only works if you
# have keep-all-logs 0 (OFF).
set max-logsize 0
# This could be good if you have had problem with the logfile filling
# your quota/hard disk or if you log +p and publish it to the web and
# need more up-to-date info. Note that this setting might increase the
# CPU usage of your bot (on the other hand it will decrease your mem usage).
set quick-logs 0
# This setting allows you the logging of raw incoming server traffic via
# console/log flag 'r', raw outgoing server traffic via console/log mode 'v',
# raw botnet traffic via console/log mode 't', and raw share traffic via
# console/log mode 'h'. These flags can create a large security hole,
# allowing people to see user passwords. This is now restricted to +n users
# only. Please choose your owners with care.
set raw-log 0
# This creates a logfile named eggdrop.log containing private msgs/ctcps,
# commands, errors, and misc. info from any channel.
logfile mco * "logs/eggdrop.log"
# This creates a logfile named lamest.log containing joins, parts,
# netsplits, kicks, bans, mode changes, and public chat on the
# channel #lamest.
logfile jpk #divisionbrabant "logs/divisionbrabant.log"
# Use this feature to timestamp entries in the log file.
set log-time 1
# If you want to keep your logfiles forever, turn this setting on. All
# logfiles will get suffix ".[day, 2 digits][month, 3 letters][year, 4 digits]".
# Note that your quota/hard-disk might be filled by this, so check your
# logfiles often and download them.
set keep-all-logs 1
# If keep-all-logs is 1, this setting will define the suffix of the logfiles.
# The default will result in a suffix like "04May2000". "%Y%m%d" will produce
# the often used yyyymmdd format. Read the strftime manpages for more options.
# NOTE: On systems which don't support strftime, the default format will
# be used _always_.
set logfile-suffix ".%Y%m%d"
# You can specify when Eggdrop should switch logfiles and start fresh. You
# must use military time for this setting. 300 is the default, and describes
# 03:00 (AM).
set switch-logfiles-at 300
# "Writing user file..." and "Writing channel file..." messages won't be
# logged anymore if this option is enabled.
set quiet-save 0
Code: Select all
logfile mco * "logs/eggdrop.log"
##### LOG FILES #####
set max-logs 365
set max-logsize 0
set quick-logs 0
set raw-log 0
logfile mco * "logs/enfield.log"
logfile jpk #Ballarat "stats/ballarat.log"
# Use this feature to timestamp entries in the log file.
set log-time 1
# If you want to keep your logfiles forever, turn this setting on. All
set keep-all-logs 1
set logfile-suffix ".%d%b%Y"
# You can specify when Eggdrop should switch logfiles and start fresh. You
# must use military time for this setting. 300 is the default, and describes
# 03:00 (AM).
set switch-logfiles-at 300
# "Writing user file..." and "Writing channel file..." messages won't be
# logged anymore if this option is enabled.
set quiet-save 1
Below is a section of my pisg.cfglogfile jpk #Ballarat "stats/ballarat.log"
Code: Select all
<channel="#Ballarat">
LogDir="/home/<username>/bots/stats/"
....
</channel>
#
Code: Select all
set max-logs 1000
set max-logsize 0
set quick-logs 0
set raw-log 0
logfile mco * "egglog/eggdrop.log"
logfile jpk #divisionbrabant "logs/divisionbrabant.log"
set log-time 1
set keep-all-logs 1
set logfile-suffix ".%d%b%Y"
set switch-logfiles-at 300
set quiet-save 1
Code: Select all
<channel="#divisionbrabant">
LogDir="/home/tommygun/eggdrop/logs/"
Format="eggdrop"
Timeoffset="+0"
Lang="NL"
ShowFoulLine="1"
DailyActivity="30"
ShowActiveTimes="1"
ShowActiveNicks="1"
ShowBigNumbers="1"
ShowTopics="1"
ShowLines="1"
ShowWpl="1"
ShowCpl="1"
ShowWords="1"
ShowLastSeen="1"
ShowTime="1"
ShowLineTime="1"
ShowWordTime="1"
ShowRandQuote="1"
ShowLegend="1"
ShowKickLine="1"
ShowActionLine="1"
ShowShoutLine="1"
ShowMuw="1"
ShowMrn="1"
ShowMru="1"
ShowCharts="0"
ShowMostNicks="1"
ShowActiveGenders="1"
ShowSmileys="1"
ShowMostActiveByHour="1"
ShowMostActiveByHourGraph="1"
ActiveNicks="50"
ActiveNicks2="25"
ActiveNicksByHour="25"
MostNicksHistory="10"
MostNicksVerbose="1"
TopicHistory="5"
UrlHistory="15"
ChartsHistory="10"
WordHistory="15"
NickHistory="15"
SmileyHistory="15"
NickTracking="1"
PicLocation="http://www.link.com/chatstats/gfx/"
UserPics="1"
ImagePath="http://www.link.com/chatstats/userpics/"
DefaultPic="http://www.link.com/chatstats//userpics/not_available.jpg"
Maintainer="TommyGun"
Network="GamerGun"
OutputFile="/var/www/html/chatstats/index.php"
ColorScheme="default"
PicWidth="60"
PicHeight="60"
MaxQuote="40"
ShowHalfops = "1"
ShowOps = "1"
</channel>