This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

channel.log.yesterday

Old posts that have not been replied to for several years.
Locked
f
fredde

Post by fredde »

How do i keep the bot from changing into channel.log.yesterday and just keep on logging to channel.log for ever?

/Fredde
S
SniperAC

Post by SniperAC »

Try looking areound here
# once a day the logfiles are switched out and started fresh --
# this specifies when that should happen (in military time)
# [note that a leading 0 will make Tcl think this is an octal value,
# something you probably don't want.]
set switch-logfiles-at 300
There are tons of ways to keep you logs By date
# [0/1] keep logfiles for more than 48 hours -- instead of being called
# "(logfilename).yesterday", the log files are named by the current date,
# and kept around forever (eventually your directory might get full, so
# be careful with this!)
set keep-all-logs 1

just look in your ".conf" file look for " #### LOG FILES ####

~SniperAC~



<font size=-1>[ This Message was edited by: SniperAC on 2001-10-25 15:32 ]</font>
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Method 2.

THe way above allows you to log to a new file each day, keeping them in an organised fashion.

If you wish to still use one file though (making long long reading). You can set keep-all-logs to 0 and switch-logfiles-at to 2500.

Read over some other tricks in tricks in the doc directory.
f
fredde

Post by fredde »

tnx ppslim that was just what i was looking for, but it dont work for me, all i get is this error when i try to start the bot
[22:28] TCL error in file 'xxxxx.conf':
[22:28] invalid command name "keep-all-logs"
while executing
"keep-all-logs 0"
(file "xxxxx.conf" line 101)

/Fredde
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Follow the mthod the rest of the configfile takes.

All settings begin with set
set keep-all-logs 0
Locked