Hint: 'keep-all-logs' and do as all favor and read the comments available in the .conf file if you haven't found (as you say) a answer for your question.
Once the game is over, the king and the pawn go back in the same box.
# 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 0
# 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 ".%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
My question was not how to make it keep all logs.. it was how to get it to log to just ONE file.
From what I can see, this will cycle the log file, and hence you will have a seperate log file for every single day.
So hence I ask again if you will how do I get it to log to just one file?
This is better in my opinion, eventualy the file will become very large and you'll need to delete it. Thus, I find having a separate logfile for each day is better; anyways, if you want it to log into only one file then I'm sure a tcl script can do this task very well.
# This creates a logfile named eggdrop.log containing private msgs/ctcps,
# commands, errors, and misc. info from any channel.
logfile mbco * "logs/botnick.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 #lamest "logs/lamest.log"
set log-time 1
set keep-all-logs 0
set logfile-suffix ".%d%b%Y"
set switch-logfiles-at 300
set quiet-save 1
The above settings will give you two files (one for eggdrop & one for the channel). Every 24hrs both logs are moved to files with extention .yesterday. There are never more than 4 files.
Add [SOLVED] to the thread title if your issue has been. Search | FAQ | RTM
This is better in my opinion, eventualy the file will become very large and you'll need to delete it. Thus, I find having a separate logfile for each day is better; anyways, if you want it to log into only one file then I'm sure a tcl script can do this task very well.
I guess i'll have to find a tcl script to do it then
Cos i'm trying to log to one file, as I'm logging an IRC channel and want to create stats from the log, hence it needs to be 1 single log file infinitly!
- If you don't want your logfiles to be deleted after two days and don't
want the bot to create a new logfile each new day, then set 'keep-all-logs'
to 0 and 'switch-logfiles-at' to 2500 in your bot's config file to make it
keeping one logfile all the time. This is not recommended on high traffic
channels.
user - u rock! Alchera - thanks a mill, I am indeed using pisg for the stats, but "user"'s fix is supreme!!