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.

Weird bug with Eggdrop logging.

Old posts that have not been replied to for several years.
Locked
r
ramirez
Voice
Posts: 10
Joined: Wed Feb 23, 2005 5:25 pm

Weird bug with Eggdrop logging.

Post by ramirez »

Well, this is pretty weird.
I have noticed that everytime I do a .rehash command, my eggdrop stops updating the channel log files. I am using a script called "autolog" that basically adds an logfile line for every chan my bot is on (mode "jkp").

This all works fine when I start my bot, but as soon as I do .rehash it stops logging the channels, I doubt that this is because it reloads the autolog script and something goes wrong if it's loaded already, or something like that.
Anyways, I have to rehash my bot by doing .restart, which works fine though, but it parts all chans, and it takes bit of time before it rejoins them and it causes it to miss some of the channels activity, and is just annoying because I need to rehash often (my eggdrop is a stats bot for our network, and everytime I edit eggdrop channel (stats generator) config using an admin panel, it needs to be rehashed.

So do you have any idea what might be the problem and how can I fix it without doing .restart to rehash?

Thanks.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

the chance of that script screwing up after rehash is infinitely bigger than the chance eggdrop screwing up the logging by itself => blame your script, not eggdrop
r
ramirez
Voice
Posts: 10
Joined: Wed Feb 23, 2005 5:25 pm

Post by ramirez »

Well, it's not my script. It's from here: http://www.egghelp.org/mytcl.htm
The autolog.tcl v1.0: http://www.egghelp.org/files/mytcl/autolog1.0.tcl.gz
If that helps you find out if it's the script.

EDIT. It was indeed the script. I found a newer version by different author that had a support for continuation of logging after rehash. It's working perfectly now.

Thanks.
Locked